autocomplete-that-fills-nothing
This fails the run. Where it is wrong about your code, // ramonda-check-ignore <reason> on the line says so, and the reason is printed on every run.
Reported when an autocomplete value names no autofill field, so the browser ignores it entirely.
A browser matches this against the HTML specification's list of autofill field names and against nothing else. A token that is not on it is not a near miss it corrects — the whole value is dropped and the field never fills.
The names that trip people up: name (not fullname), username (not user-name),
postal-code (not zip or zipcode), tel (not phone), cc-number (not card-number),
address-level2 for a city and address-level1 for a state or county.
shipping, billing, home, work, mobile, fax and pager say WHICH address or
number and are not fields on their own — they go in FRONT of one, as in
autocomplete="shipping street-address".
This matters most for the people who have the least room to absorb it: filling an address by hand is real effort and real errors for somebody with a motor impairment, and voice control may have no other way to enter a long string accurately.
Next
- All rules — the other checks this one runs beside.
- Checking your app — how to run it, and what it proves.