autofix_contrast_issues
Automatically analyze and fix color contrast issues in artboards or text layers to achieve WCAG 2.1 AA (4.5:1) or AAA (7:1) compliance.
Instructions
Automatically analyzes and corrects color contrast issues to achieve WCAG 2.1 AA (4.5:1) or AAA (7:1) 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": {
"nodeId": "<nodeId>"
},
"name": "autofix_contrast_issues"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | No | Optional target file ID. | |
| nodeId | Yes | ID of the artboard or text layer to fix. | |
| standard | No | Accessibility standard to enforce (default: WCAG_AA). |