# role-supports-aria-props Enforce that elements with explicit or implicit roles defined contain only `aria-*` properties supported by that `role`. Many ARIA attributes (states and properties) can only be used on elements with particular roles. Some elements have implicit roles, such as ``, which will resolve to `role="link"`. ## Rule details This rule takes no arguments. ### Succeed ```jsx ``` ### Fail ```jsx ``` ## Accessibility guidelines - [WCAG 4.1.2](https://www.w3.org/WAI/WCAG21/Understanding/name-role-value) ### Resources - [ARIA Spec, States and Properties](https://www.w3.org/TR/wai-aria/#states_and_properties) - [Chrome Audit Rules, AX_ARIA_10](https://github.com/GoogleChrome/accessibility-developer-tools/wiki/Audit-Rules#ax_aria_10)