Building multi-step login forms that work well with password managers
a day ago
- #accessibility
- #web-development
- #password-managers
- Password managers are essential for managing credentials on the web.
- Multi-step login forms can cause issues with password managers, leading to accessibility problems.
- Single Sign-On (SSO) systems centralize login management for employees, often using SAML or OpenID Connect.
- Password managers detect login forms to auto-fill credentials, but multi-step forms disrupt this process.
- Solutions include using correct autocomplete attributes and hidden username fields on password pages.
- For one-time codes, annotate fields correctly with 'autocomplete="one-time-code"'.
- Using proper HTML elements like <button> helps password managers trigger logins automatically.
- Password manager developers are encouraged to support multi-step login flows better.