Password Input
- html.spec.whatwg.org/multipage/input.html#password-state-(type=password)
- developer.mozilla.org/en-US/docs/Web/HTML/Element/input/password
Example:
There is no native way to show the filled in content of a password input. But it can be done manually.
- When showing a password in a
type="text"
input,spellcheck
andautocomplete
should be disabled to avoid accidental disclosure of passwords.
There is the unofficial passwordrules
attribute that is used by software to automatically generate valid custom passwords. This attribute is currently only supported in Safari.
[developer.apple.com]