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
<rdar://problem/78523584>
we're thinking this is related to how VO processes focus changes. If so, will close the WebKit bug...