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
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.
Used aria-describedby for helper text AND error text (SC 331 and 332)
<p>Please select the option(s) that work best for you. </p><fieldsetaria-describedby="helper"><legend>I want to receive</legend><div><inputtype="checkbox" name="Text message" id="check_1"><labelfor="check_1">Text message</label></div><div><inputtype="checkbox" name="Email" id="check_2"><labelfor="check_2">Email</label></div></fieldset><div><p><spanid="helper">At least one preference is required to proceed. </span></div>
The text was updated successfully, but these errors were encountered:
mmazanec22
changed the title
SC 331/332 -- Checkbox fieldset legend implementation
SC 331/332 -- Checkbox fieldset legend implementation on contact info page
Jan 8, 2025
URL
https://demo.fileyourstatetaxes.org/en/questions/notification-preferences
Issue
To come.
Screenshot
Video walkthrough
fieldset_legend_checkboxes.mov
WCAG Success Criterion
SC 3.3.1: Error Identification (Level A)
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.
Here is the CodePen:
https://codepen.io/dsian108/pen/NPKwOMy?authentication_hash=PNkvYxxPJjpA
What changed:
aria-describedby
for helper text AND error text (SC 331 and 332)The text was updated successfully, but these errors were encountered: