One-time code forms are often split-up into multiple inputs, one per digit. From a UX perspective, what's the benefit of doing that? Why not just use one input?
For example: https://www.chakra-ui.com/docs/components/pin-input
One-time code forms are often split-up into multiple inputs, one per digit. From a UX perspective, what's the benefit of doing that? Why not just use one input?
For example: https://www.chakra-ui.com/docs/components/pin-input
Bad implementations use several inputs; good implementations use just one input that looks like several.
A better UX would be to have a single input with a monospace font and a large letter spacing, so there is no illusion that there are multiple inputs.
A lot of banks and financial institutions use this pattern,but also scramble things up.
For example, they'll ask for digits 4, 1 and 3 from a PIN, plus characters 2, 8 and 13 from your password.
In my opinion this fails WCAG SC 3.3.8 https://www.w3.org/TR/WCAG22/#accessible-authentication-minimum but I'm not aware of anyone having challenged it.
It requires awful mental gymnastics, and the use of 14 fingers (or however many characters in your password).
If you have a cognitive impairment, it must be practically impossible without writing it down - which shows how entirely counter-productive it is.
I actually might implement it soon - currently working on a component library.
Which approach would you recommend/prefer?
A space for Bonfire maintainers and contributors to communicate