Bug 244090
| Summary: | AX: Safari + Voiceover don't read some ShadowDOM elements's aria-label if there's a aria-modal=true | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | GoOz <gooz> |
| Component: | Accessibility | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | andresg_22, karlcow, rik, webkit-bug-importer |
| Priority: | P2 | Keywords: | BrowserCompat, InRadar |
| Version: | Safari 15 | ||
| Hardware: | Mac (Apple Silicon) | ||
| OS: | macOS 11 | ||
GoOz
Reproduced on Safari 15.6 & MacOS 11.6.8 and 12.5
Testcase: https://codepen.io/GoOz/pen/MWVZXZQ
Actual results:
If there's an aria-modal attribute set to true somewhere on the page, aria-labels from shadowDOM elements outside the modal element OR inside it but with the aria-label inside its own shadowDOM won't be read by Voiceover.
Removing the aria-modal="true" attribute will read all of them but that's not an option for the sake of a11y.
Expected results:
Voiceover should read shadowDOM elements aria-labels
Possibly related to https://bugs.webkit.org/show_bug.cgi?id=174667
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/98834532>