aether_get_fix
Resolve WCAG violations with a concrete, verified fix or a rule-level explanation. Supply the failing HTML for a fix; omit it for success criteria, techniques, and failure patterns.
Instructions
Get a RAG-powered fix OR explanation for a WCAG violation. Pass html (the failing element) to get a concrete fixHtml plus a measured verification. Omit html to get a rule-level explanation (WCAG success criteria, technique code examples, failure patterns, and fix guidance). Requires ALLCHEMY_API_KEY for RAG output; falls back to templates without it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | URL where the violation was found (context only; not navigated to) | |
| html | No | The failing HTML element's outerHTML. Omit to get a rule-level explanation instead of an element-specific fix. | |
| ruleId | Yes | Axe-core rule ID (e.g. "button-name", "image-alt", "color-contrast") | |
| verify | No | Re-run real axe on original vs fixed HTML to measure whether the fix works (default true). Ignored in explanation mode. | |
| parentHtml | No | Parent element's outerHTML for context | |
| siblingHtml | No | Sibling elements' opening tags (tight lockups) — lets contrast flag logo-adjacent text | |
| childrenHtml | No | Children innerHTML for context | |
| failureSummary | No | Axe's failureSummary string |