04
Content
- State the rule before it's broken: "At least 12 characters."
- Never cap the length, never block paste: password managers need both.
A password or a secret, with Show password. Paste always works, and there's no length cap.
<input type="password">Server-rendered01
02
field-label<label>Names it, from its Field.input-control<input>Hidden until shown; spelling and capitalisation tools off.input-end<span>Show password: a toggle with aria-pressed; showing and hiding is announced.03
04