Form

OTP Input

How the OTP Input works with a keyboard and assistive tech.

Guidance#

Each cell is an input named Digit 1 of 6 and so on; inputmode="numeric" shows the number pad.

autocomplete="one-time-code" lets the device offer the code from a message.

Arrow keys, Home and End move between cells; Backspace in an empty cell steps back.

Errors are announced through the hint, linked with aria-describedby.