a11y-toolkit: WCAG criterion explained
a11y_criterionExplains WCAG 2.2 success criteria in plain language and maps audit signals to official ACT rules so you can understand why a finding matters.
Instructions
Explains a WCAG 2.2 success criterion in plain language (es/en): what it requires, typical failures, and how to verify it with this toolkit (which tool automates which part). Codes like "1.4.3", "2.5.8", "4.1.2". Give a finding SIGNAL instead (e.g. img_no_alt, kbd_trap — the id in every audit finding) and it resolves to its criterion AND its published ACT rule(s) with official w3.org links. Use it whenever you need to explain WHY a finding matters or what the criterion actually says. — Knowledge lookup; does not fetch or audit anything — includes the official Understanding WCAG 2.2 link for the criterion. Returns JSON: {criterion, level, understanding, toolkit_signals, requires, typical_failures, how_to_check} — signal mode adds {signal, act_rules [{id, name, status, url}]}; {error, …} for unknown codes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | criterion number, e.g. 1.4.3 (or give signal) | |
| lang | No | Explanation language (default en) | |
| signal | No | engine signal id from a finding (e.g. img_no_alt, kbd_trap) — resolves criterion + ACT rules with w3.org links |