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

Better a11y around mask inputs for a11y #266

Open
cy-by opened this issue Jun 14, 2021 · 0 comments
Open

Better a11y around mask inputs for a11y #266

cy-by opened this issue Jun 14, 2021 · 0 comments

Comments

@cy-by
Copy link
Contributor

cy-by commented Jun 14, 2021

What

Interesting choice that the input for a SSN is using type="tel". This poses a11y issues.

I first though it should move to type="number" but gov.uk recently moved their number inputs to:

<input type="text" inputmode="numeric" pattern="[0-9]*">

Investigate if this pattern is worth adopting.

Why

Discovered when investigating #265.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant