Post

Are you using the HTML autocomplete attribute on fields for 2FA, one-time codes, and web authentication? 🔒 Please do—it massively improves the login UX.

The `autocomplete="one-time-code"` tells the OS to look for an incoming SMS and offer the code as a keyboard suggestion.

1 repost14 likes

Using `autocomplete="username webauthn”` can be enough to trigger the browser’s Conditional UI — focusing this input field opens a dialog that suggests stored passkeys alongside saved passwords.