| Summary: | AX: List size is still announced by VoiceOver despite use of aria-setsize=-1 | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Todd Kloots <todd.kloots> | ||||||||||
| Component: | Accessibility | Assignee: | Andres Gonzalez <andresg_22> | ||||||||||
| Status: | RESOLVED FIXED | ||||||||||||
| Severity: | Normal | CC: | aboxhall, andresg_22, apinheiro, cfleizach, dmazzoni, ews-watchlist, jcraig, jdiggs, samuel_white, spanage, webkit-bug-importer | ||||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||||
| Version: | Safari 16 | ||||||||||||
| Hardware: | Mac (Intel) | ||||||||||||
| OS: | macOS 12 | ||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Todd Kloots
2022-10-12 15:14:40 PDT
For more context: all lists in Slack are virtualized. And so, with only the items scrolled into view actually rendered into the DOM VoiceOver reports the list size according to what is rendered into the DOM/scrolled into view. Therefore in 99.99% of cases in Slack the list size announced by VoiceOver will be inaccurate (“list of 5 items” when in fact it is a channel with loads and loads of messages) and could be confusing for users. The ARIA spec indicates use of set-size="-1" when the size of the list is unknown. We've implemented this for all our virtualized lists in Slack, and yet VoiceOver is still announcing the list size. Confirming this still reproduces on 13.1 Beta (22C5044e) Created attachment 463557 [details]
Patch
This is the WebKit portion of the fix, a VO change is also necessary. Created attachment 463580 [details]
Patch
Now works for ATSPI as well.
Created attachment 463612 [details]
Patch
Committed 256861@main (ca1977fd4ef6): <https://commits.webkit.org/256861@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 463612 [details]. 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). |