RESOLVED FIXED 221716
AX: VoiceOver incorrectly announces groups in ARIA tree instances as empty
https://bugs.webkit.org/show_bug.cgi?id=221716
Summary AX: VoiceOver incorrectly announces groups in ARIA tree instances as empty
Todd Kloots
Reported 2021-02-10 14:10:20 PST
Created attachment 419902 [details] Screen recording demonstrating the bug Steps to reproduce the problem 1. Start VoiceOver 2. Go to https://codepen.io/toddlr/pen/WNoGBQO 3. Use VoiceOver navigation to navigate the ARIA tree instance 4. Observe how VoiceOver announces "Jungle Animals, expanded, 0 items enclosed"
Attachments
Screen recording demonstrating the bug (1.49 MB, video/quicktime)
2021-02-10 14:10 PST, Todd Kloots
no flags
Screen recording of an ARIA group with aria-owns announced as "0 items enclosed" (4.21 MB, video/quicktime)
2021-02-16 09:26 PST, Todd Kloots
no flags
Screen recording of the CodePen using Focus Navigation (12.57 MB, video/quicktime)
2021-02-16 09:34 PST, Todd Kloots
no flags
patch (4.46 KB, patch)
2021-02-22 13:22 PST, chris fleizach
ews-feeder: commit-queue-
patch (4.55 KB, patch)
2021-02-22 16:44 PST, chris fleizach
no flags
Radar WebKit Bug Importer
Comment 1 2021-02-10 14:10:36 PST
chris fleizach
Comment 2 2021-02-13 10:08:54 PST
I think we determined this was due to DOM hierarchy usage and that it can be fixed by making the group with aria-owns the sub-element of the tree item
Todd Kloots
Comment 3 2021-02-16 09:24:23 PST
Chris, This issue has been proven to persist, even when the group with aria-owns is a child of the treeitem that controls its expansion. I've created an update prototype (https://codepen.io/toddlr/pen/MWbbree) and you can see for yourself with the following repro steps: 1. Start VoiceOver 2. Go to https://codepen.io/toddlr/pen/MWbbree 3. Use VoiceOver navigation to navigate the tree 4. Observe how VoiceOver will announce a group with aria-owns as having "0 items enclosed" Todd
Todd Kloots
Comment 4 2021-02-16 09:26:06 PST
Created attachment 420477 [details] Screen recording of an ARIA group with aria-owns announced as "0 items enclosed" This is a screen recording of using https://codepen.io/toddlr/pen/MWbbree with VoiceOver navigation
Todd Kloots
Comment 5 2021-02-16 09:34:00 PST
Created attachment 420478 [details] Screen recording of the CodePen using Focus Navigation This example demonstrates how VoiceOver does not announce "0 items enclosed" when using keyboard shortcuts implemented in JavaScript: 1. Start VoiceOver 2. Go to https://codepen.io/toddlr/pen/MWbbree 3. Use the tab key to move focus to the ARIA tree instance 4. Navigate the tree using the up/down arrow keys 5. Observe how VoiceOver does not announce the ARIA group with aria-owns as having "0 items enclosed"
chris fleizach
Comment 6 2021-02-22 13:22:18 PST
chris fleizach
Comment 7 2021-02-22 16:44:46 PST
EWS
Comment 8 2021-02-23 12:04:09 PST
Committed r273328: <https://commits.webkit.org/r273328> All reviewed patches have been landed. Closing bug and clearing flags on attachment 421265 [details].
Todd Kloots
Comment 9 2023-11-30 16:29:07 PST
Verified fixed. Tested using Mac OS 14.1.1 in both Chrome (Version 119.0.6045.199) and Safari (Version 17.1 (19616.2.9.11.7)).
Note You need to log in before you can comment on or make changes to this bug.