aria-valid-attr
ARIA attributes need to adhere to valid names.
Description
ARIA properties starting with aria-
should have valid names.
Why is it important?
When an element with an invalid ARIA attribute name is encountered, an assistive technology may disregard the element or react to it unexpectedly. As a consequence, individuals who use assistive technologies may find it challenging or impossible to use the element. Consult the official WAI-ARIA specification provided by the W3C (World Wide Web Consortium) to identify and understand the correct usage of ARIA attributes.
How to fix?
Provide a valid name for each ARIA attribute:
- Ensure the correct attribute name is used.
- Ensure the attribute name is spelled correctly.
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
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!