Skip to main content

aria-allowed-attr

Ensure that elements use only ARIA attributes that are allowed for their corresponding ARIA role.

Severity: Serious, Critical

Description

Ensure that you adhere to ARIA specifications by using valid ARIA attributes and fulfilling any additional requirements specified for roles, states, and properties, such as being part of a larger structure, requiring specific attributes, or necessitating programmatically managed states.

Why is it important?

Misusing ARIA attributes in prohibited roles disrupts web page accessibility. Invalid role-attribute combinations might affect or disable accessibility for entire sections. If ARIA attributes conflict with HTML elements per WAI-ARIA 1.1, assistive technology can report nonsensical UI information, misrepresenting the document’s actual UI.

How to fix?

For details on the appropriate usage of ARIA attributes with HTML elements, refer to document conformance requirements.

References

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked






Thank you for your valuable feedback

Is this page helping you?

Yes
No

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked






Thank you for your valuable feedback!

Talk to an Expert
Download Copy