a11y_scanUrl
Scan web pages for accessibility issues using WCAG 2.0/2.1 standards, identify violations, and capture screenshots with highlighted problems for compliance reporting.
Instructions
Run accessibility scan on a URL or specific element using Playwright + axe-core. Supports full page or targeted section scanning with optional screenshots. Uses comprehensive WCAG 2.0, 2.1 Level A/AA and best-practice rules by default.
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": "a11y_scanUrl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL to scan for accessibility issues | |
| selector | No | CSS selector to scan only a specific section/element (e.g., 'header', '.main-content', '#navigation') | |
| waitForSelector | No | CSS selector to wait for before scanning (useful for dynamic content) | |
| captureScreenshot | No | Capture screenshot of the scanned area with violations highlighted | |
| timeout | No | Navigation timeout in milliseconds |