Form Autofill Token Coverage
What it checks
Whether each credential field declares the matching WHATWG autocomplete token. Credential fields are the account identifier (username), the password (current-password on sign-in, new-password on sign-up) and the verification code (one-time-code). The concept is inferred from the field’s type, name, id, placeholder, aria-label and label text. A password field expects new-password on a signup URL and current-password elsewhere.
Contact, address and payment fields are judged by operability-safety/profile-autofill-token-coverage.
On a form that has a password field and no separate username field, the email field is the account identifier. It is judged here as the username concept and is covered when it declares username or email. The common pattern for an email used as the login is type="email" autocomplete="username". A signup form that also asks for a username keeps its email as profile data.
A field counts as covered when all three hold:
- its
autocompletetoken matches the inferred concept; - it carries a
nameor anid; - the input type matches where the token needs one.
Coverage is one ratio over every scanned form: covered credential fields over credential fields. Search and store-locator forms are skipped.
Two side findings are counted on every data field of a form that carries a credential field:
- a label that marks the field mandatory with an asterisk only, with no
requiredoraria-required="true"; - an element with an
errororinvalidclass, orrole="alert", beside the field that the field does not reference througharia-errormessageoraria-describedby.
| State | Result |
|---|---|
| no form, or no credential field and no side finding | na |
| every credential field covered, no side finding | pass |
| some covered, or all covered with a side finding | warn |
| no credential field covered | fail |
Why it matters
Agents that sign in for a user do not type the password. Gemini in Chrome uses login info saved in Google Password Manager, with permission. Claude fills logins through 1Password. 1Password says autocomplete attributes make fields easier for it to identify. A sign-in field without username or current-password, a sign-up field without new-password, or a code field without one-time-code leaves the password manager to infer the field from other cues. Test: add the correct tokens to a form a password manager fails on and repeat the fill.
Evidence
- HTML Standard — Autofill — WHATWG (spec, verified 2026-10-17)
- The
autocompleteattribute is how a page tells the user agent which value a field wants. The standard definesusername,current-password,new-passwordandone-time-code. - Design your website to work best with 1Password — 1Password (vendor-doc, verified 2026-10-18)
- “Use the appropriate autocomplete attributes on fields. These attributes make it easier for 1Password to identify your fields.” Its example is
autocomplete="one-time-code". - Use 1Password to sign in to websites with Claude — 1Password (vendor-doc, verified 2026-10-18)
- “1Password for Claude currently supports filling usernames, passwords, and one-time passwords from Login items”. Other item types are not supported. This is an agent consumer of exactly the credential tokens.
- Use Gemini in Chrome to browse for you — Google (vendor-doc, verified 2026-10-18)
- “With your permission, it can also use login info you saved in Password Manager to sign into loyalty programs and online accounts.”
- Learn Forms — Autofill — Google / web.dev (vendor-doc, verified 2026-10-17)
new-passwordlets the browser offer a generated password, andcurrent-passworda saved one.- Lighthouse audit source: agent-accessibility-tree.js — Google Chrome / Lighthouse (repo, URL verified 2026-08-20)
- Lighthouse runs axe’s
autocomplete-validrule, which validates a token that is present and never flags a missing one. This audit measures the missing ones.
Counter-evidence: the agent itself does not read the token. Only the password manager could, acting for the agent. 1Password says the attribute makes identification “easier”, not that it is required or the only signal. No source shows that Google Password Manager reads autocomplete tokens. Agent tools that drive forms directly (form_input, Playwright MCP, browser-use) locate fields by accessible name.
How it scores
Tier per evidence policy: scored — grade B meets the A/B bar required for scored audits.
Grade: B — the credential tokens are a ratified WHATWG standard, and agents are documented to sign in through password managers: 1Password fills usernames, passwords and one-time passwords for Claude, and Google documents Gemini in Chrome signing in with Google Password Manager (both verified 2026-10-18). The step from the password manager to the token is weaker: 1Password says the attribute makes fields “easier” to identify, and no source shows Google Password Manager reads it. That is strong measurement of a plausible path, not documented consumer behaviour, so the grade is B rather than A.
Example finding
A sign-in form uses <input name="f_1" placeholder="Your account"> and <input type="password" name="f_2"> with no autocomplete. The user asks an agent to sign in. The password manager cannot tell which saved login the identifier field wants, offers nothing, and the agent stops at the sign-in page.
Sources
- HTML Standard — 4.10.19.7 Autofill — WHATWG, spec (verified 2026-10-17)
- Learn Forms — Autofill — Google / web.dev, vendor-doc (verified 2026-10-17)
- WebSuite: Systematically Evaluating Why Web Agents Fail — arXiv, study (verified 2026-08-20)
- Lighthouse core/audits/agentic/agent-accessibility-tree.js — GoogleChrome/lighthouse, repo (verified 2026-08-20)
- Design your website to work best with 1Password — 1Password, vendor-doc (verified 2026-10-18)
- Use 1Password to sign in to websites with Claude — 1Password, vendor-doc (verified 2026-10-18)
- Use Gemini in Chrome to browse for you (auto browse) — Google, vendor-doc (verified 2026-10-18)