Audit accessibility
kaava_auditAudit design tokens against WCAG 2.2 AA in light and dark modes, checking contrast, visible boundaries, color-vision status distinctions, target sizes, and minimum text size.
Instructions
Accessibility audit of the current design system against WCAG 2.2 AA, in light and dark. Checks every promised foreground/background pairing (4.5:1 text, 3:1 UI, with APCA Lc for reference), whether solid fills have a visible boundary, whether status colors stay distinguishable with color-vision deficiencies (protanopia, deuteranopia, tritanopia), control target sizes and minimum text size. Run after overriding colors or sizes. It audits the tokens, not rendered pages.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "kaava_audit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectRoot | No | Absolute path of the project. Defaults to the first workspace root the client exposes, else the server working directory. | |
| failuresOnly | No | List only failures and warnings. Default false. |