Demo · A4
AWS Console MFA pattern
- Inspired by
- The MFA challenge step on
signin.aws.amazon.com and similar enterprise IAM flows.
- Pattern
- Single input with
name="mfaCode", autocomplete="off", maxlength="6", inputmode="numeric". No autocomplete="one-time-code".
- Hits
- Strict
TotpFieldNames list — mfacode is in the canonical vocabulary.
- Expected with new "Auto-fill 2FA codes on page load" off
- Manual trigger fills (existing behavior).
- Expected with the setting on
- Page-load fills the code automatically — the strict-list signal opens the high-confidence gate.