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
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html_snippet | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||