Forms
Autocomplete value is not valid
WCAG 2.2 success criterion 1.3.5 Identify Input Purpose (Level AA)
- WCAG 2.2
- 1.3.5 Identify Input Purpose
- Level
- AA
- Default severity
- Error
- Available in
- Free
Updated for Lumtera 1.2.2 and Lumtera Pro 1.1.1.
Why does it matter?
Browsers, password managers and assistive tools fill in and label fields from standard autocomplete values. A misspelt or misordered value, such as "e-mail" or "work shipping email", is ignored, so people with memory or motor difficulties have to type everything by hand.
Who it affects: Screen reader users, voice-control users who say a field's label to move to it, and people with memory or attention difficulties who lose a placeholder once they type.
What does Lumtera flag?
Fields whose autocomplete value does not follow the HTML autofill rules, checked the way the W3C ACT rule for valid autocomplete values does. A value built from real tokens in the wrong order or shape is an error. A value made only of words browsers do not know (often a trick to stop autofill) is for review, since it only matters when the field asks for the visitor's own details. "on", "off", empty values, hidden and disabled fields, and buttons are skipped.
Check ID input-autocomplete-invalid — use it to filter the content report or with wp lumtera issues --rule.
How do I fix it in WordPress?
Use one of the standard autocomplete values, such as "name", "email", "tel", "street-address", "postal-code" or "current-password", optionally preceded by "shipping" or "billing" (and, for phone numbers and emails, "home", "work" or "mobile"). To stop browsers filling in a field that is not about the visitor, use autocomplete="off". In form plugins, the autocomplete value is usually a field setting.
Example
<input type="email" name="email" autocomplete="e-mail">
<input type="email" name="email" autocomplete="email">
How do I check the fix?
- Update the post. The issue disappears from the Lumtera Accessibility sidebar on the next check, and from the site report on the next scan.
- Click each field's label: the cursor should move into the field. With a screen reader, each field should announce its label when it receives focus.
Find this issue across your whole site
Lumtera runs this check in the block editor sidebar as you write, in the Elementor panel, in Review mode on the live page, and across the whole site in the content report and with wp lumtera scan. You can change its severity or turn it off in Lumtera → Settings.
Related checks
-
WCAG 4.1.2 · AError
Form field has no label
-
WCAG 1.3.1 · ANeeds review
Form field has more than one label
-
WCAG 1.3.1 · ANeeds review
Options are not grouped with their question
-
WCAG 1.3.5 · AATip
Personal-data field has no autocomplete
-
WCAG 3.3.7 · ATip
Form asks for the same email twice
-
WCAG 3.3.8 · AAError
Password field blocks pasting or password managers
Start with the free plugin today
All 69 content checks and 33 whole-page checks, fixes you approve with undo, and the site report — free, with no account and no page limits.