Opens in a new tabSkip to content
Agent LighthouseAgent Lighthouse

    Searches the text of every published page. The evidence sources themselves are not in this index — search all of them on the trusted sources page.

    GitHub ↗
    Browse checks and page contents
    operability-safety/form-actionability

    Form backend actionability

    What it checks

    Autonomous agents fill forms by reading the DOM directly — they cannot see placeholders rendered visually or guess what a custom div-based widget expects. Fields without a native element, an explicit label (label[for], wrapping label, aria-label, or aria-labelledby), or a standard autocomplete attribute for identity data (email, phone, name, address) force agents to guess, producing failed or incorrect submissions. Keep every fillable field a native input/select/textarea with an explicit label and standard autocomplete tokens.

    Why it matters

    Agents that act on a page through its accessibility tree identify a field by its accessible name, computed from <label>, aria-label or aria-labelledby. A fillable control that is not a native form element, or that has no accessible name, cannot be reliably targeted or filled by such an agent.

    Evidence

    • Anthropic’s browser use tool “works with the page both through its structure (the accessibility tree, elements, forms, and tabs) and through pixels (screenshots and viewport coordinates)”, acting on controls via element references taken from the accessibility tree — platform.claude.com/…/browser-use-tool (verified 2026-08-21)
    • Playwright MCP “enables LLMs to interact with web pages through structured accessibility snapshots, bypassing the need for screenshots or visually-tuned models”, and “Uses Playwright’s accessibility tree, not pixel-based input” — github.com/…/playwright-mcp (verified 2026-08-21)
    • The accessible name computation draws on host-language labelling (HTML <label>), aria-label and aria-labelledbyw3.org/…/accname-1.2 (verified 2026-08-21)
    • Native form semantics are also what the emerging agent-facing form standard builds on: WebMCP’s declarative API compiles <form> and its form-associated elements into a tool input schema, using the control’s name attribute for each schema property — raw.githubusercontent.com/…/declarative-api-explain… (verified 2026-08-21)

    Limits

    Two qualifications. First, the same Anthropic doc shows the agent also has screenshots and viewport coordinates, so a missing accessible name degrades reliability rather than making a field strictly unreachable. Second, the autocomplete-token half of this audit is weaker than the label half. The HTML Standard defines autofill detail tokens as a browser autofill feature (html.spec.whatwg.org/…/form-control-infrastructure.…, verified 2026-08-21), and no vendor doc found states that an AI agent reads autocomplete to decide what value to enter. That sub-check is a plausible convention (C) riding on an A-grade label mechanism. placeholder is correctly excluded here: it is not part of the accessible name computation (w3.org/…/accname-1.2, verified 2026-08-21).

    How it scores

    Two named agent stacks document that they perceive and act on pages via the accessibility tree, and the accessible name they consume is computed from exactly the label mechanisms this audit checks.

    Sources