[Webkit-unassigned] [Bug 244881] AX: Heading element are not exposed in VoiceOver rotor when they are inside a button
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Sep 12 23:05:35 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=244881
Tyler Wilcock <tyler_w at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tyler_w at apple.com
--- Comment #2 from Tyler Wilcock <tyler_w at apple.com> ---
I believe this is because the children of buttons are presentational, i.e. not supposed to be exposed by the user agent.
https://www.w3.org/TR/wai-aria/#button
https://www.w3.org/TR/wai-aria/#childrenArePresentational
This behavior is implemented here:
https://github.com/WebKit/WebKit/blob/b86ae1a3bfa93a5cb1359c3370a32a3adeb5507e/Source/WebCore/accessibility/AccessibilityNodeObject.cpp#L489
Firefox matches our behavior, Chrome does not (it exposes the heading). I do understand the usecase...maybe worth starting a discussion on https://github.com/w3c/aria/issues?
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220913/cabf4a4a/attachment.htm>
More information about the webkit-unassigned
mailing list