Skip to content

Better a11y around mask inputs for a11y #266

@cy-by

Description

@cy-by

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions