# Elements must only use permitted ARIA attributes

> Canonical HTML version: https://rocketvalidator.com/accessibility-validation/axe/4.8/aria-prohibited-attr
> Attribution: Rocket Validator (https://rocketvalidator.com)
> License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

Elements must only use permitted ARIA attributes.

Using ARIA attributes in roles where they are prohibited can mean that important information is not communicated to users of assistive technologies. Assistive technologies may also attempt to compensate for the issue, resulting in inconsistent and confusing behavior of these tools.

Not all ARIA role-attribute combinations are valid. This Rule checks that noe of the attributes used with a particular role are listed as "prohibited" for that role in the latest version of WAI-ARIA.

The `aria-label` and `aria-labelledby` attributes are prohibited on `presentation` and `none` roles, as well as on text-like roles such as `code`, `insertion`, `strong`, etc.

<h3>What this Accessibility Rule Checks</h3>

Checks that each ARIA attribute used is not described as prohibited for that element's role in the WAI-ARIA specification.
