audit_site
Crawl a website and audit each page for WCAG 2.2 accessibility violations using Axe, Pa11y, Lighthouse, or IBM engines. Returns per-page results and a GDS compliance summary.
Instructions
Crawl a site (same origin) and audit each page for WCAG 2.2 accessibility.
Breadth-first crawl from the start URL, auditing each page with the chosen engines. Returns per-page results and an aggregated service-level GDS summary.
Args: url: The start URL to crawl from. max_pages: Maximum pages to audit (capped by server config). max_depth: Maximum link depth from the start URL (capped by server config). level: WCAG level: "A", "AA" (default) or "AAA". engines: Subset of ["axe","pa11y","lighthouse","ibm"]. Defaults to ["axe"]. include_best_practice: Also run axe "best-practice" rules.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| level | No | AA | |
| engines | No | ||
| max_depth | No | ||
| max_pages | No | ||
| include_best_practice | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||