Skip to main content
Raasta
SeriousWCAG 1.3.5 · Level AAautocomplete-valid

Form field has an invalid autocomplete value

Fields that ask for personal details should use the standard autocomplete values, such as email, given-name or postal-code, so browsers can fill them in. Replace made-up values with the standard token for that field.

Who it hurts

People with memory, motor or cognitive disabilities, who rely on autofill, and everyone on a phone.

Values like autocomplete="nope" or "email-address" are ignored or misread.

How to fix it

Pick your stack. Review every change before you ship it.

Before

<input name="mail" autocomplete="email-address">

After

<input name="mail" type="email" autocomplete="email">

Check it by hand too

Fill a checkout form with browser autofill: each field should get the right data.

Automated checks find a large share of accessibility problems, but not all of them. Passing this check does not on its own make a page compliant.

WCAG reference