Bug 283783

Summary: AX: VoiceOver unexpectedly reads both button inner text and aria-labelledby text
Product: WebKit Reporter: Tyler Wilcock <tyler_w>
Component: AccessibilityAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: andresg_22, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: All   
OS: All   

Tyler Wilcock
Reported 2024-11-27 21:46:44 PST
<button aria-labelledby="g">foo</button> <div role="group" id="g"> <p>bar</p> </div> WebKit exposes "foo bar" as the label for the button, but Firefox and Chrome expose "bar". If you remove role="group", we only expose "bar" like other browsers. This is a good candidate for an accname WPT.
Attachments
Radar WebKit Bug Importer
Comment 1 2024-11-27 21:46:53 PST
Tyler Wilcock
Comment 2 2024-12-06 22:08:54 PST
I think this is another symptom of https://github.com/w3c/aria/issues/2381.
Note You need to log in before you can comment on or make changes to this bug.