WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
254081
AX: iOS Voiceover not announcing text linked to input using aria-describedby
https://bugs.webkit.org/show_bug.cgi?id=254081
Summary
AX: iOS Voiceover not announcing text linked to input using aria-describedby
Graham Armfield
Reported
2023-03-17 11:10:39 PDT
A common way of programmatically linking hint text or error messages to input fields is by using aria-describedby attribute on the input element. What is currently happening: When a Voiceover user is swiping right to move through the input fields this linked text is not being read out when focus is on the input field. The text is read out if user swipes beyond the input but they won't necessarily know it's there, or that it's linked to the input field. What should happen: The linked hint text or error message should be read out when Voiceover moves focus onto an input field. Suggest that it is voiced after the label and the type of input field, and "invalid data" if aria-invalid="true" is present. Example code: <label for="firstname">First name</label> <input type="text" id="firstname" name="firstname" aria-required="true" aria-invalid="true" aria-describedby="firstname-error"> <span id="firstname-error">You must supply your first name.</span> The above code gives a satisfactory experience in desktop/laptop screen readers like NVDA and JAWS.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-03-17 11:10:49 PDT
<
rdar://problem/106866541
>
marc.solomon
Comment 2
2024-08-22 12:47:03 PDT
For what it's worth, I cannot reproduce this issue using the provided code sample with Safari on iOS 17.5.1.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug