Find buttons and links
Roles, names, and states come back as JSON. Agents skip decorative divs and focus on actionable nodes.
Computer-use agents need structure, not HTML soup. The /a11y endpoint returns the accessibility tree after a real render so agents click the right elements.
Works with your agent stack
DOM snapshots are huge and brittle. Accessibility trees expose interactive elements with stable roles and labels your agent can target.
Roles, names, and states come back as JSON. Agents skip decorative divs and focus on actionable nodes.
The tree reflects the page after JavaScript runs, not the empty shell from a static fetch.
Combine /a11y with /screenshot when the agent needs both visual context and a navigable element map.
We render the page in a headless browser, then serialize the ARIA tree. Agents get a compact JSON graph tuned for action selection.
Roles, labels, descriptions, states, and hierarchy for every accessible node on the page.
SPAs and client-rendered apps return the same tree a screen reader would see after hydration.
The tree is smaller than raw HTML and aligned to how assistive tech interprets the page.
POST the URL to /v1/a11y. Parse the JSON tree in your agent loop.
View docs →Filter nodes by role (button, link, textbox) and accessible name to pick the next action.
Agent tools →Capture a screenshot after each action to confirm the agent clicked the intended element.
Screenshot API →/content returns HTML. /a11y returns the semantic accessibility tree as JSON, optimized for agent action selection.
Yes. We render with a headless browser first, so client-side routes and dynamic widgets appear in the tree.
Yes. The a11y tool is available in the CaptureWeb MCP server alongside screenshot and markdown.
Feed your vector database with fresh, clean web content stripped of boilerplate.
Learn more →AI & agentsGive your AI agent live eyes on the web. One MCP install, ten tools.
Learn more →Data extractionTurn any company domain into a structured brand profile.
Learn more →Fetch the accessibility tree from any public URL in one call.