autocomplete-valid

Autocomplete attribute must be used correctly

Who might be affected
Screen Reader
Cognitive
Attention Deficit

Description

Autofill of input fields can significantly improve the user experience of those with certain disabilities, but it places a heavy responsibility on the interface side to fill the fields accurately and to gain user trust. To help assistive technologies to give the user the most meaningful and accurate output, WAI defined a list of "Input Purposes for User Interface Components", which consists of 53 common personal data values. These are the only valid values for the autocomplete attribute.

Quick Fixes

Make sure that the "autocomplete" value is one from this list

How Users Are Affected

An autocomplete field that has an invalid value might be ignored or misread by assistive technologies.

WCAG Success criteria

This issue might cause elements to fail one or more of the following Success criteria:
1.3.5 Identify Input Purpose (AA)