Invalid ARIA Attributes
ARIA attributes beginning with 'aria-'
that are used in a page's HTML must be one of a fixed set established by the WAI-ARIA Guidelines.
If you encounter the flag 'ARIA attributes must conform to valid values', DubBot is indicating that the flagged attribute itself is incorrect, not necessarily the value provided for the attribute.
Common Client Issues
Misspelling - be sure your attributes are spelled correctly.
Using the term
aria-role
- when usingrole
thearia-
prefix is not needed.Third-party content on your sites and the accessibility issues it presents.
Diagnosing an Issue from a Page View
Follow these steps to begin your diagnosis:
From the Detail Page View in DubBot, expand the details for the Issue you are investigating
In the Failure Summary section, find the attribute that has been flagged.
When you have located the flagged attribute in the Element Source, visit our Valid ARIA Attributes Quick Reference to find a valid attribute to use in its place.
Related Articles
Learn More
Using WAI-ARIA from W3C
WAI-ARIA Roles from mdn docs
Understanding Information and Relationships (A) from WCAG
ARIA Authoring Practices Guide - good examples of some of the more common patterns (expandables, carousel, etc.)
DubBot Flags:
ARIA attributes must conform to valid values
Ensures all ARIA attributes have valid values
If you have questions, please contact our DubBot Support team via email at help@dubbot.com or via the blue chat bubble in the lower right corner of your screen. We are here to help!
Flag: ARIA attributes must conform to valid values
Ensures all ARIA attributes have valid values