| Summary: | AX: Heading element are not exposed in VoiceOver rotor when they are inside a button | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Sylvain Gamel <code> |
| Component: | Accessibility | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW --- | ||
| Severity: | Major | CC: | andresg_22, tyler_w, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 15 | ||
| Hardware: | All | ||
| OS: | All | ||
|
Description
Sylvain Gamel
2022-09-07 00:14:00 PDT
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? |