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: AccessibilityAssignee: 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
Reported 2022-08-18 08:59:54 PDT
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
Radar WebKit Bug Importer
Comment 1 2022-08-18 09:00:05 PDT
Note You need to log in before you can comment on or make changes to this bug.