WCAG audit across several pages
audit_siteAudits multiple pages against WCAG, running per-page checks plus cross-page comparisons for consistent navigation, link names, titles and help placement, reporting each criterion's status for the whole site.
Instructions
Audits several pages and returns the status of each success criterion for the site as a whole. Runs the same checks as audit_page on every page, then compares pages for consistent navigation order (3.2.3), consistent names for links to the same destination (3.2.4), duplicate titles (2.4.2), the number of ways to reach a page (2.4.5), cues for the current location (2.4.8), a consistent position for help (3.2.6) and fields that ask for the same information again (3.3.7). When urls is omitted, same-site links on the url page are followed up to maxPages. Time grows with the number of pages.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "audit_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL of the start page. When urls is omitted, same-site links on this page are followed. | |
| urls | No | URLs of the pages to audit. When given, no links are followed; only the start page and this list are audited. | |
| wcag | No | WCAG version to audit against. Default 2.2. | |
| level | No | Target conformance level. Default AA. | |
| motion | No | Whether to compare screenshots to find motion made by scripts, videos, GIFs and canvas (2.2.2). It waits 5 seconds after load, so false saves about 2 seconds per page (about 6 seconds in check_presentation). Default true. | |
| waitMs | No | Extra time to wait after load, in milliseconds. | |
| maxPages | No | Maximum number of pages to audit. Default 5. | |
| judgments | No | Judgments made from the material returned by collect_evidence. They are reflected in the criteria list. A criterion that failed an automated check stays failed even if pass is supplied. | |
| waitForSelector | No | After load, wait until an element matching this CSS selector appears. Use it to wait for an SPA to render. |