RESOLVED MOVED 221065
AX: VoiceOver for iOS does not announce required state for an input with both aria-required="true" and aria-roledescription
https://bugs.webkit.org/show_bug.cgi?id=221065
Summary AX: VoiceOver for iOS does not announce required state for an input with both...
Michael Jordan
Reported 2021-01-27 15:22:10 PST
VoiceOver for iOS does not announce the required state for an input element with both aria-required="true" and aria-roledescription. For a numeric input stepper that can render its value using currency or other Intl.NumberFormat options, we use aria-roledescription to identify the text input as a "Number field". With VoiceOver for iOS, the input role is announced using the aria-roledescription value, however the required state gets omitted. With VoiceOver for macOS, the input role is announced as "edit text", and the required state is announced, which I suspect may be because aria-roledescription is being ignored entirely. The expected behavior would be for states like aria-required to be announced for elements using aria-roledescription. Here is a url to an example comparing the behavior of two inputs, one that has aria-roledescription and a second without: https://codepen.io/majornista/pen/gOLYgZd
Attachments
Radar WebKit Bug Importer
Comment 1 2021-01-27 15:22:29 PST
Smoley
Comment 2 2021-01-29 15:22:17 PST
Thanks for filing, I can reproduce this on iOS 13.6.1 and the latest 14.4 beta. Ccing relevant folks.
chris fleizach
Comment 3 2021-01-29 16:29:19 PST
The macOS bug reported (lack of role desc on text field) is a VoiceOver bug. I've sent a clone of the issue to them: (<rdar://problem/73777103>
chris fleizach
Comment 4 2021-01-29 16:37:05 PST
The iOS issue is also in VoiceOver. I will use this radar to fix the issue there. since no webKit change is required, I will close out this bug. You'll be able to check on the iOS issue in the next update. Not sure about macOS right now
Note You need to log in before you can comment on or make changes to this bug.