Input purpose
The WCAG rule that fields asking for personal details say in code what they collect, so browsers can fill them in.
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
Related terms
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.