Audit a local HTML file
audit_fileRender a local HTML file and return WCAG accessibility violations with suggested corrections. Specify file path, viewport, and ruleset to get targeted issue groups and affected elements.
Instructions
Render a local .html or .htm file beneath the configured allowed root and return accessibility findings and corrections. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | Viewport width in CSS pixels. | |
| height | No | Viewport height in CSS pixels. | |
| filePath | Yes | Absolute path, or path relative to the server working directory, to an HTML file. | |
| standard | No | WCAG ruleset to test. Use best-practice to include additional axe guidance. | wcag22aa |
| maxIssues | No | Maximum violation groups returned; summary totals still cover the full run. | |
| maxNodesPerIssue | No | Maximum affected elements returned per rule. |