Skip to main content
WCAGrules
Quick navigation

Guides · Building it right

The 53 Input Purposes, and What Rule 1.3.5 Actually Asks

WCAG names 53 purposes a form field can declare. The list is closed, it has not changed since 2018, and hardly anyone prints it in full.

Last reviewed August 31, 2026

There are 53 of them, they live in section 7 of the standard, and the six tables below hold every one. The list is closed. If the thing your field collects is not on it, rule 1.3.5 has nothing to say about that field, and no amount of clever markup earns you credit for it.

The rule itself is two conditions long. A field collecting information about the user has to be able to say what it is for, in code, and the purpose it declares has to be one of the 53. That is it. In HTML the way you say it is the autocomplete attribute, and the token you put in it is the purpose.

The short version

53 purposes, unchanged between WCAG 2.1 and 2.2. Only fields collecting the user's own details are in scope. The rule is about declaring the purpose, not about the browser filling anything in.

Declaring the Purpose Is the Whole Requirement

This is the part almost everybody gets backwards, and it is worth getting straight before you look at the list. Rule 1.3.5 does not ask your form to autofill. It asks your form to be readable by software. Those are different jobs and only one of them is the rule.

So a bank that switches autofill off across a login form can still meet 1.3.5 in full, because the attribute is still sitting there in the markup for anything that wants to read it. W3C says this outright in the test rule for the criterion. Turning the filling off does not stop the value being identifiable.

The reverse holds too, and it costs teams more. A form can autofill beautifully in every browser you try and still fail, because browsers guess. They will fill a field whose tokens are in the wrong order, or misspelled, or invented. A successful autofill is not a passing test, and treating it as one is how a form ships with autocomplete="birthday" on it for two years.

What the declaration actually buys is worth knowing, because it changes how you argue for the work. Once a field says what it holds, software can change how that field looks to the person filling it in. W3C's own examples are a birthday cake drawn beside the date of birth and a telephone drawn beside the phone number, for somebody who reads pictures more easily than words. The tokens mean the same thing in every language, so a reader who cannot read your label still gets a field they recognize.

The Scope Is the Person Filling In the Form

The criterion opens with five words that do most of the scoping work, and they are collecting information about the user. Not information. Information about the user. W3C repeats it in the guidance, repeats it again in the technique, and repeats it a third time in the failure.

So a great deal of what looks like form work is not in scope at all.

  • A gift recipient's address. Their street, their postal code, their name. None of it is about the person at the keyboard, so none of it needs a token.
  • An emergency contact's phone number. Same reasoning. The field holds somebody else's details.
  • A referee's email on a job application. Also outside.
  • A "how did you hear about us" box. There is no purpose on the list that fits, so the rule does not reach it.
  • An amount you are asking for rather than offering. W3C names transaction-amount as the clearest case of a token on the list that often is not about the user at all.

That last one is the tell that the scope is real rather than a technicality. W3C put a value on its own list and then said in the guidance that a field using it may sit outside the criterion anyway, because what decides is whose information the field holds.

There is a matching allowance for the awkward field. Where one box genuinely takes two purposes, the classic being a login box that accepts either a username or an email address, you may pick one token, or you may leave the purpose off entirely. Both are permitted, and W3C says so in as many words.

The 53 Purposes, in Six Groups

W3C publishes these as one long unordered list with no headings and no count. Six groups follow, in the standard's own order, with the running total after each one so you can see the arithmetic. The token is what you write. The description is what it means.

Names and Titles, Eight Purposes

TokenWhat it holds
nameThe full name, as one field
honorific-prefixA prefix or title, such as Mr, Ms or Dr
given-nameThe given name, called the first name in some Western cultures
additional-nameAny further names, called middle names in some Western cultures
family-nameThe family name, called the surname or last name in some Western cultures
honorific-suffixA suffix, such as Jr, II or B.Sc.
nicknameA nickname, screen name or handle used instead of the full name
organization-titleA job title, such as Software Engineer or Deputy Managing Director
Name and title purposes

Sign-In Details, Three Purposes

TokenWhat it holds
usernameA username
new-passwordA password being set, on sign-up or on a password change
current-passwordThe existing password for the account named in the username field
Sign-in purposes

Eleven so far. The two password tokens are separate on purpose, and password managers rely on the difference to tell a change-password form from a sign-in form.

Company and Address, Twelve Purposes

TokenWhat it holds
organizationThe company the person, address or contact details belong to
street-addressThe whole street address in one field, with line breaks kept
address-line1The first line, where the address is split across fields
address-line2The second line
address-line3The third line
address-level4The finest administrative level, where an address has four of them
address-level3The third administrative level, where an address has three or more
address-level2The second administrative level. In most countries this is the city, town or village
address-level1The broadest administrative level. The state in the US, the canton in Switzerland, the post town in the UK
countryThe country code
country-nameThe country name, written out
postal-codeThe postal code, post code, ZIP code or CEDEX code
Company and address purposes

Twenty-three so far. The four numbered administrative levels are the part people trip on, and the way to hold them is that level 1 is the broadest and the numbers get finer as they rise. Most Western addresses use two of them, which is why address-level2 is your city field and address-level1 is your state or county field.

Payment Details, Twelve Purposes

TokenWhat it holds
cc-nameThe full name printed on the card
cc-given-nameThe given name printed on the card
cc-additional-nameAny further names printed on the card
cc-family-nameThe family name printed on the card
cc-numberThe number identifying the card
cc-expThe expiry date, as one field
cc-exp-monthThe month part of the expiry date
cc-exp-yearThe year part of the expiry date
cc-cscThe security code, also called the CSC, CVC, CVV or CCID
cc-typeThe kind of card
transaction-currencyThe currency the person would like the transaction in
transaction-amountThe amount the person would like, such as a bid or an offer
Payment purposes

Thirty-five so far. W3C's own wording says payment instrument rather than card, so the cc tokens cover whatever the field is describing rather than credit cards alone.

Personal Details, Eight Purposes

TokenWhat it holds
languageThe person's preferred language
bdayThe birthday, as one field
bday-dayThe day part of the birthday
bday-monthThe month part of the birthday
bday-yearThe year part of the birthday
sexGender identity. The token keeps an older spelling and the standard defines it as gender identity
urlA home page or other page belonging to the person, company or address in the nearby fields
photoA photograph, icon or other image belonging to the person, company or address in the nearby fields
Personal detail purposes

Forty-three so far. The gap between the token's spelling and its definition is the standard's, not ours, and it comes from the HTML specification the list was copied out of.

Telephone, Email and Messaging, Ten Purposes

TokenWhat it holds
telThe full telephone number, country code included
tel-country-codeThe country code on its own
tel-nationalThe number without the country code
tel-area-codeThe area code on its own
tel-localThe number without the country code and the area code
tel-local-prefixThe first half of the local number, where a form splits it in two
tel-local-suffixThe second half of the local number
tel-extensionAn internal extension
emailAn email address
imppAn instant messaging address, written as a URL
Telephone, email and messaging purposes

Fifty-three. That is the whole list, and it is the same list in WCAG 2.1 and WCAG 2.2. We checked both texts against each other rather than assuming, and they match line for line.

The Token Order Is Strict, and Order Is Where Forms Fail

A value in the autocomplete attribute is not one word. It is a short list of words with a fixed order, and getting the order wrong invalidates the whole thing even when every word in it is real. This is what the automated rule spends most of its time catching.

There are five slots, they go in this order, and only the fourth one is required.

  1. An optional grouping token, written as section- and then a name you choose. It ties a set of fields together when one page carries two copies of the same form.
  2. An optional shipping or billing. One or the other, never both.
  3. An optional home, work, mobile, fax or pager, and only where the next token is one of the contact ones. Those are email, impp, tel and the seven other telephone tokens.
  4. The purpose itself, exactly one, taken from the 53 above. This is the only slot you have to fill.
  5. An optional webauthn, last, for a field that should offer a passkey.

So billing address-line1 is valid and address-line1 billing is not. home email is valid and email home is not. work photo is not valid at all, because a contact word can only sit in front of a contact token, and a photograph is not one.

Four more failures come straight from W3C's published examples, and between them they cover most of what we find in real audits. A value with no purpose token in it, such as shipping on its own. A value carrying two purpose tokens, such as address-line1 address-line2 on one field. A value separated by commas rather than spaces. And an extra word tacked on the end, such as email invalid.

What the Automated Rule Cannot See

One ACT rule covers this criterion, and it is narrower than its name suggests. It checks that an autocomplete value that already exists is spelled and ordered correctly. Everything else is yours to test by hand.

Five kinds of field are excluded from it by name.

  • Fields whose value is just off or on. Excluded outright. A form that sets autocomplete="off" on all forty fields produces no findings and declares nothing.
  • Disabled fields.
  • Buttons, checkboxes, radios, file pickers, image inputs, reset and submit. These do not take an autocomplete value in the first place.
  • Fields that are neither visible nor in the accessibility tree.
  • Elements outside the tab order that carry no widget role.

And then there are the two failures no scanner will ever raise for you. A field collecting the user's own phone number with no token at all is invisible to the rule, because the rule only looks at values that are present. A field carrying a token that is perfectly valid and completely wrong, such as email sitting on a surname box, passes every automated check there is. Both are documented failures of the criterion.

W3C is straight about what this adds up to. The rule's own outcome mapping says that a page where every element passes leaves the criterion needing further testing. A pass here is a spelling result, not a verdict.

One Valid HTML Token Is Not on WCAG's List

The 53 were copied out of HTML 5.2 in 2018 and frozen there. The HTML specification is a living document and has kept moving, so the two lists have drifted apart by exactly one token. HTML has 54 field names now. The extra one is one-time-code, for the box where somebody types the six digits from a text message.

Nothing runs in the other direction. Every one of WCAG's 53 is still valid HTML. So autocomplete="one-time-code" is correct markup, it is the right thing to write on a two-factor field, it will not fail the automated rule, and it earns you nothing under 1.3.5 because the purpose is not on the frozen list. Write it anyway. It helps password managers, and a one-time code is barely information about the user to begin with.

What to Say When Security Objects to Autofill

This objection arrives on almost every banking, insurance and health project, and it is usually aimed at the wrong thing. Nobody is asking you to switch autofill on. The rule is satisfied by the attribute being there. Still, the argument tends to happen, so here is what W3C's own technique says about it.

  • Saved data works on one computer, one user account and one browser. It does not travel between logins.
  • Saving is opt-in, and the person is asked the first time.
  • The form is never submitted automatically. The person sees the values before anything goes anywhere.
  • Clearing saved form data takes a few seconds in browser settings, and private browsing avoids it entirely.
  • Browsers and password managers already guess at your fields and fill them in. The tokens do not create that behavior. They make it accurate.

That last point is the one that ends the conversation. An unlabelled field does not stop a password manager. It just means the password manager guesses, and a wrong guess puts a card number somewhere you did not want it.

One honest limit

W3C's own test rule says support for this in assistive technology is fairly limited, and that some browsers return an empty value even when the attribute is set correctly. So the personalization this rule was built to enable is still mostly ahead of us. The autofill benefit is real today, the rule is a Level AA obligation today, and the icons-beside-fields future is what the declaration is holding the door open for.

Common questions

How many input purposes does WCAG define?
53. They are listed in section 7 of the standard, under the heading Input Purposes for User Interface Components, and the list is identical in WCAG 2.1 and WCAG 2.2. W3C publishes them as one unordered list and states no total, so the count is one you have to make yourself.
Does rule 1.3.5 require autofill to work?
No. It requires the purpose to be declared in code so software can read it. A form that suppresses autofill entirely can still meet the rule, because the attribute is still there. A form that autofills perfectly can still fail it, because browsers will fill fields whose tokens are invalid.
Do I need autocomplete on a gift recipient's address?
No. The criterion is scoped to fields collecting information about the person filling in the form. A gift recipient's address, an emergency contact's number and a referee's email are all somebody else's details, so none of them needs a token.
Is autocomplete="one-time-code" part of WCAG?
No, and it is still worth writing. WCAG's list was frozen against HTML 5.2 in 2018 and the HTML specification has added one field name since, which is one-time-code. It is valid HTML, it passes the automated rule, and it earns nothing under 1.3.5.
Can a scanner tell me whether my form meets 1.3.5?
Only partly. The automated rule checks the spelling and the order of values that are already present, and skips anything set to off or on. It cannot see a missing token, and it cannot see a valid token on the wrong field. W3C's own outcome mapping says a full pass leaves the criterion needing further testing.

Sources

Keep reading

More on building it right

Reading about it is the cheap part.

Find out where your site actually stands. The free scan checks 10 pages in a real browser against all 90 supported automated rules, keeps its 27 best-practice checks separate from WCAG findings, and names the rule behind every finding. The full audit adds an expert review and a real blind screen-reader user. From $499, with the report in 5 business days on Rapid and 10 on Standard, and the clock starting at cleared payment.

Go somewhere useful

Find tools, resources and your workspace.

29 destinations