aether_scan_and_fix
Scan any URL or multi-route SPA for WCAG 2.1 AA violations and get RAG-powered, browser-verified fixes in one call. Set maxFixes:0 for scan-only.
Instructions
Scan a URL (or a multi-route SPA via the spa block) for WCAG 2.1 AA accessibility violations AND generate RAG-powered fixes in one call. Returns violations paired with fixHtml, explanations, and WCAG technique references. Set maxFixes:0 for a fast scan-only pass. This is the recommended tool for accessibility auditing — use it when a developer asks to check or fix accessibility.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spa | No | Scan a Single-Page Application across multiple routes instead of a single URL. Presence of this block selects SPA mode. Mutually exclusive with `url`. | |
| url | No | Single-page target URL (e.g. http://localhost:3000). Provide this OR `spa`, not both. | |
| maxFixes | No | Maximum number of violations to generate fixes for (default 10). Set 0 for a scan-only pass (no RAG calls). | |
| viewport | No | Single-page mode only: viewport(s) to report. "all" scans desktop, tablet, and mobile. | all |
| minSeverity | No | Minimum severity to include (default "moderate") | moderate |
| verifyFixes | No | Re-run real axe on each generated fix (original vs fixed HTML) to measure whether it works (default true) |