Bug 261177
| Summary: | VoiceOver does not support aria-description with span tag | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Hyongsop Kim <khsbory> |
| Component: | Accessibility | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Major | CC: | andresg_22, aroselli, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | iPhone / iPad | ||
| OS: | iOS 16 | ||
Hyongsop Kim
Hello, I am a VoiceOver screen reader user. I tested the latest version of safari and VoiceOver to see if the aria-description attribute is supported. VoiceOver does not support the aria-description attribute yet with span tag, so I reported the bug.
If you visit the following site, you will see several fruit buttons, and the regular price and discount price are marked up as class styles.
https://nv-a11y.synology.me/a11y/description2.html
Since each regular price and discount price are defined as styles, I used the aria-description attribute to make them readable by screen readers, but this attribute is not being read.
I would appreciate it if you could improve the related issues after testing it.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/115013776>
Adrian Roselli
Not an Apple person, but stumbled across this while filing another bug.
The `<span>` element is a _generic_ element. Generic elements do not support name or description from author, such as by `aria-description`:
https://www.w3.org/TR/wai-aria/#namefromauthor
WebKit is following the ARIA spec here.