accessibility_snapshot
Capture page accessibility trees as JSON to test screen-reader behavior, find elements by role, and audit for missing ARIA labels in Electron apps.
Instructions
Capture the accessibility tree of the current page as JSON. Useful for testing screen-reader behaviour, finding elements by role, or auditing for missing ARIA labels. Optionally pass interestingOnly: false to include every node, not just interesting ones.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| interestingOnly | No | Filter to interactive/labelled nodes only. Default true (matches Playwright default). | |
| root | No | Optional selector. If given, snapshot is rooted at that element instead of the full page. |