OTP component accessibility #42486
Unanswered
miken32
asked this question in
v6 Feedback
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Documentation for this new component says 'Each input should have an aria-label describing its position (e.g., "Digit 1")'. I'm not at all an expert on assistive technology from an end-user perspective, but wouldn't this get really annoying if each label is read out for the user? It's probably too late to re-engineer this thing now, but thought I'd ask the question anyway.
Our home-grown OTP component ends up looking something like this, so assistive technology users are dealing with a typical form input. Scripting puts the input from the big boxes into the standard input for submission and jumps the focus from item to item.
Beta Was this translation helpful? Give feedback.
All reactions