Design QA audit
figma_auditAudit Figma screens and components for accessibility and design-system issues—contrast, target size, hardcoded colors, text styles, spacing, naming, and auto layout—and return findings with node IDs.
Instructions
Checks layers against accessibility and design-system standards and lists findings with node ids:
contrast: text vs. its background, WCAG 2.2 1.4.3 (4.5:1, large text 3:1), per styled range
nonTextContrast: outlines and icons vs. background, WCAG 1.4.11 (3:1)
targetSize: buttons, tabs, keys, checkboxes and anything with prototype reactions, against the platform hit area (ios 44pt per Apple HIG, android 48dp per Material, web 24px per WCAG 2.5.8)
hardcodedColor: fills/strokes not bound to a variable or style
textStyle: text without a text style
spacingGrid: auto-layout gap/padding off the 4px grid
layerName: default names like "Frame 12"
autoLayout: frames with several children and no auto layout Layers inside instances are checked for contrast and size only (their tokens belong to the main component). Run it on screens after building them and fix errors first.
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": {
"node_ids": "<node_ids>"
},
"name": "figma_audit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Figma link (or file key) of the file to edit. Needed only when the plugin is open in more than one file. | |
| checks | No | Default: all | |
| node_ids | Yes | Screens, sections or components to audit | |
| platform | No | web | |
| max_findings | No |