Skip to content

Rule · Accessibility

Required ARIA attribute is missing

a11y/aria-required-attrerrorvoid a11yupdated

Why it matters

Roles like slider or checkbox need state attributes to be operable with assistive tech.

How to fix it

Add the required aria-* attributes for the role.

References

void a11y reports 48 rules in this category. WCAG 2.2 AA through axe-core, plus checks axe can't do alone: visible keyboard focus, 24/44px target size on mobile, 320px reflow and disabled zoom.