Touch targets
check_touch_targetsCheck target sizes and spacing against WCAG 2.2 SC 2.5.8 (24 by 24 CSS px, or a smaller target with enough spacing), the 44px guidance for iOS and the web, and 48dp for Android. Pass targets as a list of {name, width, height, gap, inline} or text lines like 'Save button 40x32 gap=8'. Returns pass or fail per guideline with advice.
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": "check_touch_targets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Or lines like 'Close icon 32x32 gap=4' | |
| targets | No | Targets to check |