Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add icon to text input error state screen reader output #2964

Closed
3 tasks
Tracked by #2928
AnnaGingle opened this issue Oct 21, 2024 · 0 comments · Fixed by #3128
Closed
3 tasks
Tracked by #2928

Add icon to text input error state screen reader output #2964

AnnaGingle opened this issue Oct 21, 2024 · 0 comments · Fixed by #3128
Assignees
Labels
accessibility pertains to Section 508 compliance or other accessibility needs bundled Parent ticket will be sprinted and this ticket is included in the parent dev issue is for the dev team

Comments

@AnnaGingle
Copy link

AnnaGingle commented Oct 21, 2024

User story

As a user with colorblindness or who relies on a screen reader, I need error messages on form fields to include a non-color indicator, such as icons with text equivalents, in addition to the red color. This will ensure I can clearly understand when a form field has an error without relying on color alone. By providing these additional cues, I will have a clear, accessible, and usable experience when filling out forms, reducing confusion and helping me to correct mistakes more easily.

Acceptance criteria

  • The changes match this design.
  • All inputs are updated so that the icon is displayed with the error text. This applies to every form in our manage.get.gov application (not including django admin).
  • The error icon has the screen reader output of Error.

Additional context

This is a finding from the Q4 2024 Sec508 Compliance Results #2835.

Related issues

Prioritization Comments

WCAG Conformance Level: 2.1 AA
WCAG Standard that applies:
1.4.1 - Use of Color (Critical)
3.3.1 - Error Identification (Critical)
4.1.2 - Name, Role, Value (Critical)
Critical Failure if Not Met?: Yes
Prioritization: Blocker
Reason: This affects the accessibility of error messages for users with colorblindness or those relying on screen readers, as the current setup relies solely on color to indicate errors. This creates barriers for non-visual users and is not in conformance with key accessibility principles. Adding non-color indicators (e.g., error icons with text equivalents) ensures clarity and usability for all users, including those who cannot perceive color.

@AnnaGingle AnnaGingle changed the title [Draft] Add icon to text input error state screen reader output Add icon to text input error state screen reader output Oct 21, 2024
@katypies katypies added accessibility pertains to Section 508 compliance or other accessibility needs dev issue is for the dev team labels Oct 21, 2024
@katypies katypies moved this from 👶 New to 🍦 Backlog in .gov Product Board Oct 21, 2024
@lizpearl lizpearl added the bundled Parent ticket will be sprinted and this ticket is included in the parent label Nov 22, 2024
@CocoByte CocoByte self-assigned this Jan 8, 2025
@CocoByte CocoByte closed this as completed Jan 8, 2025
@github-project-automation github-project-automation bot moved this from 🍦 Backlog to ✅ Done in .gov Product Board Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility pertains to Section 508 compliance or other accessibility needs bundled Parent ticket will be sprinted and this ticket is included in the parent dev issue is for the dev team
Projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

4 participants