Browsers can fill in a name, email, and address automatically, but only when each field says what it is for. WCAG requires the purpose of fields that collect personal information to be programmatically determinable, which in practice means using the right autocomplete token on each field.
Why this needs its own check
WCAG 2.1 success criterion 1.3.5 Identify Input Purpose, Level AA, requires the purpose of each input field collecting information about the user to be programmatically determinable when the field serves a common purpose such as name, email, or address. The WCAG 2.2 checklist carries the same rule, and the standard HTML autocomplete tokens are the usual way to meet it.
What you need before you start
- A form that collects personal details
- Browser developer tools to inspect the autocomplete attribute
- A browser profile with autofill data saved
Step 1 – List the fields that collect personal details
Write down each field that asks about the user: given name, family name, email, phone, street address, postcode, country. Payment card fields count too, where the standard tokens apply.
Step 2 – Check the autocomplete token on each
Inspect each field and read its autocomplete value. A name field should carry autocomplete given-name or family-name, an email field autocomplete email, a postcode field autocomplete postal-code. A field with no token, or the wrong token, fails.
Step 3 – Test browser autofill
Open the form in a browser with saved autofill data and let it fill the form. If the browser fills the wrong field, or refuses to fill at all, the tokens are wrong even if they look right in the code.
Worked example
Practice check: a fictional Marlow and Sons delivery form
The example below is fictional. Marlow and Sons is an invented business used only as a practice case. No real customer, page, or product is shown. Treat it as a practice case, not as evidence about any real business.
| Part | What it should be | As shown | Result |
|---|---|---|---|
| Given name field | autocomplete given-name | autocomplete given-name | Pass |
| Email field | autocomplete email | No autocomplete attribute | Fail – no token |
| Street address field | autocomplete street-address | autocomplete street-address | Pass |
| Postcode field | autocomplete postal-code | autocomplete address-line1 | Fail – wrong token |
Only 2 of the 4 checks pass: the given name and the street address fields. The two failures are the email field with no token and the postcode field with the wrong token.
What to do when something is wrong
Add the standard token to each field: email on the email field and postal-code on the postcode field. Do not invent tokens; use the values from the HTML autocomplete list.
Expected result. We checked the WCAG 2.2 checklist listed in Sources. We did not inspect a live Marlow and Sons form. UNTESTED: no browser autofill test was run on a real form; the practice table shows the expected result pattern for a form with two wrong tokens.
Limits
- This check covers standard personal-detail fields only. It does not cover one-off fields with no standard token, and it does not test password manager behaviour.
Sources
- WCAG 2.2 Checklist: All 55 Level A and AA Criteria (checked 2026-11-29)
