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

USWDS - Input mask: Evaluate hint text #5244

Open
amyleadem opened this issue Apr 18, 2023 · 1 comment
Open

USWDS - Input mask: Evaluate hint text #5244

amyleadem opened this issue Apr 18, 2023 · 1 comment
Assignees
Labels
Package: Input mask Possible future enhancement Ideas that could be useful improvements in the future. Role: Content Content/writing skills needed Type: Enhancement An improvement to existing code

Comments

@amyleadem
Copy link
Contributor

Description

Evaluate the hint text in the input mask variants to see if we can provide more helpful examples

As an example, the hint for the social security number mask reads "For example, 123 45 6789". It could add clarity to specify in the hint that the user is expected to add nine numeric digits here.

Additionally, a screen reader user would have to interpret what is required of them after hearing only a list of numbers. In the telephone example, the hint would be read aloud as "For example, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0"). This would require some thinking to figure out if they are expected to add a 7-digit number a 10-digit number or if they need to include a country code.

It feels like there is an opportunity to set a standard for quality hint text in these scenarios.

https://designsystem.digital.gov/components/input-mask/

@amyleadem amyleadem added Role: Content Content/writing skills needed Possible future enhancement Ideas that could be useful improvements in the future. Package: Input mask Type: Enhancement An improvement to existing code Affects: Accessibility 🟡 Relates to the accessibility of our components and removed Affects: Accessibility 🟡 Relates to the accessibility of our components labels Apr 18, 2023
@finekatie
Copy link

Talked with Sarah today. We're moving to another sprint.

@finekatie finekatie added this to the 2024.01 January milestone Jan 8, 2024
@brunerae brunerae removed this from the 2024.01 January milestone May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Package: Input mask Possible future enhancement Ideas that could be useful improvements in the future. Role: Content Content/writing skills needed Type: Enhancement An improvement to existing code
Projects
Status: Hold
Development

No branches or pull requests

5 participants