figma_lint_design
Run WCAG accessibility and design-quality checks on a Figma page or node and return categorized, severity-ranked findings for contrast, sizing, touch targets, tokens, components, naming, and layout.
Instructions
Run accessibility (WCAG) and design quality checks on the current page or a specific node tree. Checks color contrast ratios (variable-aware — resolves token bindings to actual colors), non-text contrast (SC 1.4.11), text sizing, touch targets, hardcoded values, detached components, naming conventions, and layout quality. Returns categorized findings with severity levels. Use natural language like 'check my design for accessibility issues' or 'lint this page'. Requires Canvas Bridge plugin.
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": "figma_lint_design"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rules | No | Rule filter: ['all'] (default), ['wcag'], ['design-system'], ['layout'], or specific rule IDs like ['wcag-contrast', 'wcag-non-text-contrast', 'detached-component'] | |
| nodeId | No | Node ID to lint (defaults to current page) | |
| maxDepth | No | Maximum tree depth to traverse (default: 10) | |
| maxFindings | No | Maximum findings before stopping (default: 100) |