Invalid ARIA attribute detected
| Field | Value |
|---|---|
| Rule code | Aria_Attribute_Invalid |
| WCAG conformance level | A |
| WCAG success criterion | 4.1.2 Name, Role, Value |
| Must be fixed at source | No |
Description
ARIA (Accessible Rich Internet Applications) is a set of standards for adding accessible information to page elements. ARIA has a known list of attribute names which correspond with specific element roles. We detected an incorrect or unrecognized attribute beginning with 'aria-' which is not compatible with an element's current role. Check for spelling mistakes or remove the invalid attribute. A full list of ARIA attribute definitions are available here: https://www.w3.org/TR/wai-aria-1.1/#state_prop_def.
How to fix
Use only official and standardized values for ARIA attributes, and ensure that all ARIA attributes are supported by the corresponding element's role. Refer to the W3C's full list of ARIA attributes: https://www.w3.org/TR/wai-aria-1.1/#state_prop_def). Additionally, check that all values are spelled correctly and match a known, supported value for that attribute.