Lint markup against the specification
validate_markupCheck HTML or CSS for accessibility and design-system issues: missing accessible names, unlabelled inputs, dark-mode color breaks, flex overflow, positive tabindex, and removed focus outlines.
Instructions
Checks HTML or CSS for the accessibility and design-system failures that actually ship: missing accessible names, unlabelled inputs, hard-coded colours that break in dark mode, flex containers that will overflow, positive tabindex, removed focus outlines, and misused live regions. Advisory — a clean result is not a certificate of accessibility.
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": {
"markup": "<markup>"
},
"name": "validate_markup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| markup | Yes | HTML and/or CSS to check; maximum 524288 UTF-16 code units. Parsed structure and accessible-name work are also bounded. | |
| componentId | No | Check against a specific component spec as well. |