ARIA attributes must be allowed for the element's role

aria/aria-allowed-attr · WCAG 4.1.2 · Level A

ARIA attributes must be allowed for the element's role.

Each ARIA role supports specific attributes. Using unsupported attributes creates confusion for assistive technologies. Check the ARIA specification for which attributes are valid for each role, or remove the attribute if it's not needed.

Scan a page or repo for issues like this · All rules

Introduced in @accesslint/core v0.8.0