aria-required-attr
Installation
SKILL.md
Include required ARIA attributes for roles
Certain ARIA roles are incomplete without their required attributes, preventing assistive technologies from correctly communicating the element's state or value.
Quick Reference
- Identify roles that require specific state or property attributes
- Ensure attributes like
aria-valuenowfor sliders are present - Validate that all required ARIA attributes are correctly implemented
Check
Verify that all ARIA roles have their mandatory attributes as defined by the WAI-ARIA specification.
Fix
Add the missing required ARIA attributes to elements with specific roles (e.g., aria-valuenow for role="slider").