validate_aria
Validate ARIA attributes in HTML snippets, checking for valid values and known roles, and listing required attributes with WCAG references.
Instructions
Validiert ARIA-Attribute in einem HTML-Snippet.
Prueft: aria-* Attribute auf gueltigen Werten, role-Attribute auf bekannte Werte, required ARIA-Attribute fuer bestimmte Rollen.
Args: html_snippet: HTML-Code-Snippet (kein vollstaendiges Dokument noetig)
Returns: Liste der ARIA-Probleme mit WCAG-Referenz
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": {
"html_snippet": "<html_snippet>"
},
"name": "validate_aria"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html_snippet | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||