audit_scale_compliance
Audit design token scales to verify compliance with WCAG 2.2, Material Design, and iOS HIG standards for accessibility and platform guidelines.
Instructions
Audit design token scales against accessibility and platform standards. Checks WCAG 2.2 (44px touch targets, 1.5 line height), Material Design (8dp grid), and iOS HIG (8pt grid) compliance.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tokens": "<tokens>"
},
"name": "audit_scale_compliance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tokens | Yes | Tokens to audit | |
| standard | No | Compliance standard to check | wcag-2.2 |
| dimension | No | Token dimension hint (e.g., 'spacing', 'button') |