You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current label of the text input is not creating a consistent accessible name. There are two p tags in the label tag. This is causing errors on VoiceOver likely due to the fact we're using block level elements inside an inline element.
Screen reader users rely on labels and instructions to understand how to fill out form elements properly.
Suggested fix
This suggestion fixes the issues on Mac and PC screen readers and brings the form element up to full WCAG conformance. There are other issues solved for here that have separate bugs filed.
What changed:
Added autocomplete (SC 1.3.5)
Associated helper text (SC 3.3.2)
Added required since skipping entry causes and error (SC 3.3.1 and SC 3.3.2)
Used aria-describedby for helper text AND error text.
URL
https://demo.fileyourstatetaxes.org/en/questions/phone-number
Issue
The current label of the text input is not creating a consistent accessible name. There are two
p
tags in thelabel
tag. This is causing errors on VoiceOver likely due to the fact we're usingblock level
elements inside aninline
element.P tags in the label tag
Screen shot
Video walkthrough
form_label_auto_complete_error.mov
Note
The
aria-required="true"
was added after creating this screen recording.WCAG Success Criterion
SC 3.3.2: Labels or Instructions (Level A)
Impacted users
Screen reader users rely on labels and instructions to understand how to fill out form elements properly.
Suggested fix
This suggestion fixes the issues on Mac and PC screen readers and brings the form element up to full WCAG conformance. There are other issues solved for here that have separate bugs filed.
What changed:
aria-describedby
for helper text AND error text.Current
Should be:
The text was updated successfully, but these errors were encountered: