accessibility.audit
Audit HTML or URLs for WCAG 2.1 accessibility compliance. Detects violations with severity classification, calculates accessibility scores (0-100), and analyzes text/background contrast ratios using axe-core.
Instructions
WCAG 2.1 accessibility audit using axe-core with contrast ratio checking. Analyzes HTML or URL for WCAG A/AA/AAA compliance, detects violations with severity classification, calculates accessibility score (0-100), and checks text/background contrast ratios.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | URL to audit (mutually exclusive with html). SSRF-validated. | |
| html | No | HTML content to audit directly (max 10MB, mutually exclusive with url). | |
| level | No | WCAG conformance level to check (default: AA). | AA |
| include_contrast | No | Include OKLCH-based contrast ratio check for text/background pairs (default: true). | |
| include_passes | No | Include passed accessibility rules in response (default: false). |