Elements with ARIA roles must have all required ARIA attributes
aria/aria-required-attr · WCAG 4.1.2 · Level A
Elements with ARIA roles must have all required ARIA attributes.
Some ARIA roles require specific attributes to function correctly. For example, checkbox requires aria-checked, slider requires aria-valuenow, heading requires aria-level. Without these attributes, assistive technologies cannot convey the element's state or value to users. Add the missing required attribute with an appropriate value.
Scan a page or repo for issues like this · All rules
Introduced in @accesslint/core v0.8.0