Level AASince WCAG 2.1
1.3.5 Identify Input Purpose
Guideline 1.3: Adaptable – Structure and meaning live in the code – not only in the looks.
What does the rule require?
Form fields for personal data state in code what they expect. Then the browser can fill them in automatically.
How to get it right
Set the autocomplete attribute: autocomplete="email", "given-name", "tel", "street-address" and so on.
Who benefits most?
- People with cognitive disabilities
- People with motor disabilities
Official wording
This page explains the rule in simple words. Only the original W3C text is normative.
- “Understanding Identify Input Purpose” at W3C (external site)
- Techniques in the WCAG Quick Reference (external site)