spec checked

MDN input type password

Documents password inputs as text controls whose content is obscured, label requirements, current-password and new-password autocomplete values, required and length attributes, inputmode for PIN-like secrets, and normal text selection behavior.

Open source

Pattern Decisions This Source Supports

Pattern Supported decision Required contract Claim note
Login Choose login when the user has submitted credentials or an authenticator and the UI must show the result, next retry, lockout, or session-created state. Submitting credentials enters one clear verifying state and prevents duplicate submissions until the login result returns. MDN supports existing-password input behavior that affects failed-login recovery and secret protection.
Password input Choose password input when the value is a password, passphrase, PIN-like memorized secret, current password, reauthentication secret, or credential confirmation value. Typing, paste, selection, deletion, undo, and password-manager autofill work through native input behavior. MDN supports password input semantics, obscured content, current-password and new-password autocomplete, PIN input mode, required fields, and normal text editing.
Sign in Choose sign in when the user needs to start or restore an authenticated session for an existing account. The sign-in form identifies the protected service or destination before requesting credentials. MDN supports current-password semantics and password input behavior for existing authentication secrets.

Evidence Role

This source is treated as spec evidence. Use it to validate the decision rules above, not as a visual style reference.

Publisher: MDN Web Docs. Last checked: .