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.
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) |