a11y-toolkit: Deterministic safe auto-fixes
a11y_autofixApply safe, deterministic WCAG auto-fixes to HTML—unblocking viewport zoom, adding autocomplete tokens, filling lang and empty title. Returns fixed HTML plus applied and non-applied items with remediation.
Instructions
DETERMINISTIC safe auto-fixes applied to HTML — the honest anti-overlay: a short closed list of fixes where the correct answer is unique (unblock viewport zoom 1.4.4, add the exact autocomplete token 1.3.5, fill missing html lang and empty title when provided). Everything requiring judgment (alt text, contrast, accessible names) is NOT touched — it returns no_aplicados with the reason and remediation instead. Returns fixed_html + aplicados + no_aplicados. — Only the closed allowlist of provably safe fixes; judgment fixes come back as no_aplicados with remediation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | raw HTML to fix | |
| lang | No | only if provided and <html> lacks lang | |
| title | No | only if provided and <title> is empty |