# WCAG 1.3.5 Identify Input Purpose: explained simply

When a form asks for information about the person filling it in, such as their name, address or email address, the purpose of each field must be programmatically determinable. This applies to the purposes on a fixed list in WCAG, where the technology supports it. In HTML this is done with the autocomplete attribute.

## What does the criterion require?

Filling in a form is hard for some people. Someone with a cognitive disability may not understand what a
field is for from its label alone. People with memory-related disabilities, or who find typing
difficult, benefit when the browser fills in their name and address for them. And some people, for
example after a stroke or with a learning disability, prefer to communicate with images. Their assistive
technology can place a familiar icon next to a field, such as a birthday cake in front of the
date-of-birth field. All of this only works if the code says what a field is for.

So the criterion requires that the purpose of each input field **collecting information about the
user** can be **programmatically determined**, meaning software can read it from the code. This applies
when two conditions are both met:

- The field serves a purpose listed in the WCAG section "Input Purposes for User Interface
  Components", such as full name, given name, username, new or current password, street address,
  postal code, country, payment card details, birthday, telephone number or email address.
- The content is built with a technology that supports identifying the expected meaning of form input
  data.

In HTML that means the `autocomplete` attribute with its fixed set of values, such as `given-name` for
the first name or `bday` for the birthday (H98). The `type` attribute is not enough: `type="email"`
says that an email address is expected, but not whether it is the user's own or someone else's. By
"input field" the W3C means any form control that accepts input, so in HTML it also covers `textarea`
and `select`.

The requirement has clear limits:

- It only covers information about the person filling in the form. A field for information about
  someone else does not need to expose its purpose, even if that purpose is on the list. The list also
  contains a few values that may not strictly relate to the user, most prominently the amount of a
  transaction (`transaction-amount`).
- Whether the browser actually fills in the fields does not matter when evaluating the criterion.
  Conversely, a browser that merely guesses the purpose is not sufficient.
- If a field accepts two purposes, such as username or email address, and the technology allows only
  one value, either value may be given, or the designation may be left out altogether.

## What about security?

Some organisations worry that autofill exposes data. In H98 the W3C points out that stored values are
only available in the same browser, on the same computer, under the same user account. Users can set
up syncing across computers, but that is not the default. Saving is the
user's choice, usually when data is entered for the first time. The form is not submitted
automatically, and users see the data before they submit it. Browsers can save form data even without
`autocomplete`, and some extensions guess what fields are for. The attribute makes those guesses
accurate.

If a site wants to prevent autofill, a note in the Understanding document says the purpose must still
be determinable. HTML allows
autofill to be switched off for the whole form while the fields keep their purpose values.

## Common failures

- **A wrong or made-up value (F107).** The W3C shows a form with the fields "Name" and "Birthday".
  The name field has `autocomplete="email"` where `name` would be correct. The birthday field uses the
  made-up value `birthday` instead of `bday`. Under F107 it is a failure if the value does not match
  the field's purpose and the purpose is not exposed in code by any other method.
- **No purpose in the code at all.** If a field for the user's own address carries neither
  `autocomplete` nor any other indication of its purpose, the requirement as worded in the standard is
  not met. The test procedure of H98 also requires the value to be valid and to match the purpose
  given by the label.

## Checked automatically and checked by you

### What the automated check detects

Coverage: selective. The automated check covers individual aspects of this criterion. The validity of autocomplete values that are present is checked. A missing value on a personal-data field cannot be decided.

- [Invalid input purpose declaration](https://barrierepruefung.de/en/knowledge/rules/autocomplete-valid) (`autocomplete-valid`)

### What you check yourself

You answer this question in the manual checks of your scan.

#### Do fields for personal details carry the matching autocomplete value?

1. In your forms, look for the fields in which people enter information about themselves: name, email address, telephone number, postal address, date of birth, username, password, credit card details. The complete list is in WCAG 2.1, section 7 ("Input Purposes for User Interface Components"). Fields for information about other people and fields for other things, such as a search term or a message, are not included. If there is no such field, choose "not applicable".
2. Right-click such a field, choose "Inspect" (in some browsers "Inspect Element") and read the autocomplete attribute in the highlighted source. It must match the field, for example autocomplete="email" for the user's own email address, "given-name" for the first name, "family-name" for the surname, "tel" for the telephone number, "postal-code" for the postal code. If a field accepts two different kinds of information, such as username or email address, one of the two values is enough, or the attribute may be left out. Wanting to stop the browser from filling in such a field is no exemption: the purpose must still be machine-readable, and autocomplete="off" on the field states none.
3. Go through every form that asks for personal details in this way, including login, registration and checkout. The automatic check establishes whether a value that is present is spelled validly; it cannot detect a value that is missing on such a field.

## Classification

- Level: AA
- Introduced in: WCAG 2.1
- W3C explanation: [Understanding 1.3.5](https://www.w3.org/WAI/WCAG22/Understanding/identify-input-purpose)

## Sources

- [WCAG 2.2, W3C Recommendation](https://www.w3.org/TR/WCAG22/)
- [Understanding 1.3.5](https://www.w3.org/WAI/WCAG22/Understanding/identify-input-purpose)
- [W3C Techniques, H98: Using HTML autocomplete attributes](https://www.w3.org/WAI/WCAG22/Techniques/html/H98), retrieved on 2026-11-28
- [W3C Techniques, F107: Failure of Success Criterion 1.3.5 due to incorrect autocomplete attribute values](https://www.w3.org/WAI/WCAG22/Techniques/failures/F107), retrieved on 2026-11-28

---

As of: 2026-11-29 · https://barrierepruefung.de/en/knowledge/wcag/1-3-5-identify-input-purpose
