safari_accessibility_snapshot
Retrieve the page's accessibility tree to audit roles, ARIA labels, focusable elements, and form states. Scope to a CSS selector or pin to a tab for targeted accessibility checks.
Instructions
Get the accessibility tree of the page (roles, ARIA labels, focusable elements, form states). Essential for a11y auditing.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "safari_accessibility_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| receipt | No | Tab receipt from safari_new_tab — pins this call to that tab (survives reconnects/subagents) | |
| maxDepth | No | Max tree depth (default: 5) | |
| selector | No | CSS selector for subtree (default: full page) |