Return to list of success criteria
The purpose of each input field collecting information about the user can be programmatically determined when:
Allow browsers, and AT (e.g. browser extensions), to identify the purpose of an input field.
Primary method of complying with this is to simply add the autocomplete attribute, with a value from the list of defined values at https://www.w3.org/TR/WCAG21/#input-purposes
This allows for cases where the accessible name\label\id of a form input are ambigious such that a browser\tool could not reliably determine the meaning of the input field.