The Cake Is A Lie... And So Is Your Login’s Accessibility - Ramona Schwering
summary
Live debugging of a small React login component shows concrete fixes: add an alert/role=alert so VoiceOver announces form errors, set aria-required and aria-invalid on inputs, and link fields to messages with aria-describedby — the demo in Chrome with VoiceOver immediately reads “Login error.” Recommendations cover CAPTCHA (avoid puzzles), MFA (longer timeouts, autocopy/paste support, QR text fallback), prefer passkeys/magic links, and use a single-field CSS OTP pattern to preserve autocomplete and copy/paste.
AI-written summary · about
