| Summary: | AX: iOS VoiceOver doesn't correctly announce expanded state of details element if summary has display: inline-block | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Oliver Byford <oliver.byford> | ||||
| Component: | Accessibility | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | NEW --- | ||||||
| Severity: | Normal | CC: | andresg_22, webkit-bug-importer, webkit.org | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | Safari 14 | ||||||
| Hardware: | iPhone / iPad | ||||||
| OS: | iOS 14 | ||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 252223 | ||||||
| Attachments: |
|
||||||
|
Description
Oliver Byford
2021-09-17 08:54:50 PDT
Created attachment 438478 [details]
Test case, with alternative versions for comparison
Adding an example test case, with versions using `display: block` and the user-agent default `display` for comparison.
Using iOS 17.1 with the attached test case, after double tapping the summary with inline-block, VoiceOver (VO) repeats the summary's name but doesn't announce the state ("expanded"). After swiping forward and then back, VO again announces only the name but not the state.
After double-tapping the summary with inline-block again, VO does announce both the name and the collapsed state and does so again if I swipe forward and then back.
VO always announces the name and state for the default `display` and `display: block` versions (before iOS 17.1, VO wasn't announcing *any* states for details/summary elements).
|