validate-role-attributes
Validate ARIA attributes against specific roles to ensure accessibility compliance by checking allowed, required, or prohibited attributes.
Instructions
Validate which ARIA attributes are allowed, required, or prohibited for a specific role.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | The ARIA role to validate against | |
| attributes | Yes | List of ARIA attributes to validate (e.g., ["aria-label", "aria-expanded"]) |