Bug 226282 - AX: aria-expanded state not consistently announced by VoiceOver
Summary: AX: aria-expanded state not consistently announced by VoiceOver
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: Safari 14
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-05-26 11:28 PDT by Todd Kloots
Modified: 2021-06-01 13:57 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Todd Kloots 2021-05-26 11:28:32 PDT
Currently VoiceOver only announces the aria-expanded state if navigating an ARIA tree using VO navigation. If you navigate using keyboard shortcuts implemented in JavaScript the aria-expanded state is not announced.


Repro steps:

(1) Start VoiceOver
(2) Go to https://codepen.io/toddlr/pen/MWbbree
(3) Use VoiceOver navigation (e.g. Control-Option-Right Arrow) to navigate to an expanded ARIA treeitem instance
(4) Observe VoiceOver announces the treeitem as "expanded"

In contrast, the aria-expanded state IS NOT announced when navigating using keyboard shortcuts implement in JavaScript. For example:

(1) Start VoiceOver
(2) Go to https://codepen.io/toddlr/pen/MWbbree
(3) Move focus to the ARIA tree instance using tab
(4) Use the up/down arrow keys to move focus to an expanded ARIA treeitem
(6) Observe the expanded state change IS NOT announced by VoiceOver
Comment 1 Radar WebKit Bug Importer 2021-05-26 11:28:42 PDT
<rdar://problem/78523584>
Comment 2 chris fleizach 2021-06-01 13:57:29 PDT
we're thinking this is related to how VO processes focus changes. If so, will close the WebKit bug...