A11yCheck

WCAG rules · axe-core 4.14.1

ARIA attributes must be used as specified for the element's role

Rule ID: aria-conditional-attr

Ensure ARIA attributes are used as described in the specification of the element's role

Level: WCAG 2.A · Success criteria: 4.1.2

Rule metadata from axe-core 4.14.1. Deque's guidance: https://dequeuniversity.com/rules/axe/4.14/aria-conditional-attr?application=axeAPI

Test your HTML for this