a11y-toolkit: A11y snapshot + tab order
a11y_snapshotCapture an accessibility snapshot of any URL: interactive elements, tab order, and the screen-reader accessibility tree. Save before a deploy to compare with a11y_diff and verify WCAG compliance.
Instructions
Accessibility snapshot of a URL: interactive elements (tag, role, accessible name, href) in DOM order, the REAL tab focus order, and when Playwright ≥1.49 is available the computed ACCESSIBILITY TREE (aria snapshot — what a screen reader announces). Save it before a deploy and compare after with a11y_diff. Requires local Playwright. — Capture half of the watch loop; compare with a11y_diff (or a11y_diff_urls for two live URLs).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Page URL to snapshot (http/https or file://) | |
| auth_state | No | Path to a Playwright storage_state JSON (exported session) to snapshot behind login |