1.3.5 Identify Input Purpose
Level AA Since WCAG 2.1 How it is checked: Automated checker
In plain language
Fields for personal information (name, email, phone, address…) need an autocomplete attribute so the browser can fill them in and users type less.
Who is affected
- People with cognitive disabilities
- People with motor disabilities using only a keyboard
Examples
Fails
<input name="sdt" type="text">Passes
<input name="sdt" type="tel" autocomplete="tel">
<input name="email" type="email" autocomplete="email">How to fix
- Add autocomplete with the correct standard value: name, email, tel, street-address, bday…
- Do not set autocomplete="off" on personal information fields.
How to test it yourself
- Check the fields that ask for user information: is autocomplete set correctly?
- Try letting the browser autofill them.
What WCAG.win checks
WCAG.win checks part of this criterion automatically. The rest still needs a person.
- Automated checker – rule
autocomplete-valid: autocomplete attribute must be used correctly
W3C documentation: Understanding Success Criterion 1.3.5: Identify Input Purpose