Personal data fields must say what they collect
Fields that ask for the user's own details, such as name, email, phone, address or password, should declare their purpose with the autocomplete attribute, so browsers and assistive tools can fill them in and recognise them.
Readabler check
| Rule ID | rdb-autocomplete-missing |
|---|---|
| Impact | Moderate |
| Success criterion | 1.3.5 Identify Input Purpose · AA |
| Standards | WCAG 2.1 · WCAG 2.2 · EN 301 549 |
| Fixed automatically |
Example
<label for="phone">Phone</label>
<input type="tel" id="phone" name="phone">
<label for="zip">ZIP code</label>
<input type="text" id="zip" name="zip">The browser may guess wrongly or offer no saved data, so the user types everything.
<label for="phone">Phone</label>
<input type="tel" id="phone" name="phone" autocomplete="tel">
<label for="zip">ZIP code</label>
<input type="text" id="zip" name="zip" autocomplete="postal-code">The browser fills in the saved phone number and ZIP code in one step.
Why it matters
WCAG 1.3.5 requires that fields collecting information about the user identify their purpose in code. Browsers guess from field names, but guesses fail on many forms, especially in other languages or with generic names like field_3.
People with memory or cognitive impairments may not remember their postal code or phone number. People with motor disabilities, tremors or repetitive strain injuries find typing slow and tiring, and dyslexic users make more typos in long strings like email addresses. Reliable autofill removes most of that effort. Password managers also rely on current-password and new-password to save and suggest passwords correctly. Faster forms help everyone, and usually raise checkout and sign-up completion.
How to fix it
Add the token that matches what the field asks for. The most common ones:
<input type="text" name="fname" autocomplete="given-name">
<input type="text" name="lname" autocomplete="family-name">
<input type="email" name="email" autocomplete="email">
<input type="tel" name="mobile" autocomplete="tel">
<input type="text" name="company" autocomplete="organization">
<input type="text" name="city" autocomplete="address-level2">
Login and sign-up forms. Tell password managers which password is which:
<input type="text" name="user" autocomplete="username">
<input type="password" name="pass" autocomplete="current-password">
<input type="password" name="new_pass" autocomplete="new-password">
Separate shipping and billing addresses. Prefix the token:
<input type="text" name="bill_zip" autocomplete="billing postal-code">
Fields about someone else, like a gift recipient's name, are not about the user. Use autocomplete="off" or a neutral token so autofill does not insert the buyer's own details.
autocomplete="on" does not count: it does not say what the field collects.
Checklist
- Add autocomplete to every field for the user's own data.
- Use current-password and new-password on password fields.
- Prefix shipping or billing on split address forms.
- Use off for fields about other people.
How the check works
The check looks at visible, enabled, editable <input> fields with no autocomplete value or the value on. It works out the purpose from the type (email, tel, password) or from the field's name, id, label, placeholder and aria-label, in several languages, and skips search, URL and coupon fields. It fails when a purpose such as email, phone, name or postal code is found. Fields it cannot recognise need a manual review.
Resources
Updated October 27, 2026