Can we count your visit?

Our analytics service records the pages you view, so we can see which ones are useful. It saves a random ID in your browser, and we never use it for advertising. Read our privacy policy.

Input purpose

The WCAG rule that fields asking for personal details say in code what they collect, so browsers can fill them in.

Also called
Identify Input Purpose

Input purpose, success criterion 1.3.5 in WCAG (named “Identify Input Purpose”), was added at Level AA in WCAG 2.1. Fields that collect information about the person filling in the form, such as their name, email address, phone number, or street address, must identify their purpose in code. In HTML that means the autocomplete attribute, such as autocomplete="email".

With it, the browser can offer to fill the field from saved details. That saves typing for people with motor disabilities, and spares people with memory or cognitive disabilities from recalling and retyping the same facts.

Source

World Wide Web Consortium (W3C), 2024. Checked .

Get help with every step.

We can work with organizations of every size and industry, from a startup serving its first customers to a bank. We find where you stand, help your team fix what matters, and keep checking as your product changes. That work is evidence of your effort, not a legal guarantee.