The “Inappropriate Autocomplete Attribute Check” evaluates whether there is any autocomplete attribute used in form fields with an invalid value, according to the HTML specification.
Example outcome
I located 1 autocomplete attribute with an invalid value.
Impact
Visual Impairments: Screen readers announce autocomplete values when implemented properly. Invalid or missing values result in inconsistent or no announcements, reducing context and increasing confusion.
Motor Impairments: People with motor impairments may find typing lengthy text fields difficult. Autofill reduces the need for extensive typing or navigation through form fields.
Cognitive Disabilities: Users with cognitive disabilities struggle with repetitive tasks like filling out forms. They may forget or mistype information (e.g., addresses or emails), leading to form errors or frustration. Proper autocomplete helps reduce cognitive load by offering suggested inputs.
Fixes
To address inappropriate autocomplete attributes:
Locate the form input element with the inappropriate autocomplete attribute.
Cross-check the value against valid tokens (e.g., name, email, tel, street-address, postal-code, country, organization-title).
Fix any typos, custom values, or unsupported combinations.