a11y_audit_component
Audit React or HTML components for accessibility compliance. Identify WCAG failures, missing ARIA, semantic HTML, keyboard navigation issues, and color contrast problems to fix before release.
Instructions
Audit a React/HTML component for accessibility issues. Checks for WCAG compliance, ARIA attributes, semantic HTML, keyboard navigation, and color contrast.
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": {
"code": "<code>"
},
"name": "a11y_audit_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The component code to audit (React/JSX or HTML) | |
| componentName | No | Name of the component being audited |