Open
Description
Describe the bug
Related to site PR uswds/uswds-site#2607
The character count accessibility tests component may not pass [WCAG success criteria 3.3.3 Error Suggestion] (https://www.w3.org/WAI/WCAG21/Understanding/error-suggestion.html) and possibly 3.3.4 Error prevention.
The character count informs screen reader users of how many characters over the limit they have entered, but it does not explicitly tell them the character limit they need to stay under.
Steps to reproduce the bug
- Go to https://designsystem.digital.gov/components/character-count/
- View (or listen using a screen reader) the character count limit.
- Start typing.
- Notice that the limit is removed and instead the count indicates how many characters over or under the limit you are. But the limit has disappeared.
Expected Behavior
Make the character limit persistently visible.
Similarly after a screen reader user hears the status of their character count, the system can pause and say "the limit is 25 characters" to provide an equal experience.
Related code
No response
Screenshots
No response
System setup
No response
Additional context
No response
Code of Conduct
- I agree to follow this project's Code of Conduct.
- I checked the current issues for duplicate bug reports.
Metadata
Assignees
Labels
Type
Projects
Status
Needs refinement