Audit HTML for WCAG 2.2 defects
audit_html_snippetAudits HTML snippets or full pages against 18 static WCAG 2.2 checks and returns failing success criteria, offending markup, and corrected examples.
Instructions
Run 18 static WCAG 2.2 checks against an HTML snippet or full page and return findings with the failing success criterion, the offending markup, and a corrected example. Covers alt text, accessible names for links and buttons, form labels, language, title, heading order, duplicate ids, tabindex, aria-hidden, list structure, iframe titles, table headers, video captions, viewport zoom, and autocomplete purpose. Static analysis only: it cannot judge contrast, keyboard traps, focus visibility, or reading order in a rendered page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | HTML fragment or full document to audit | |
| severity_floor | No | Return only errors (default) or every finding |