In this Article
What it Means and why it Matters
When ARIA is used in the code for your webpages, the attributes used must only use the allowed values.
For example, the attribute aria-hidden
can only have one of three values: true, false, or undefined.
Failure to use allowed values will make content inaccessible to assistive technology users.
Diagnosing the Problem 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 area, find the ARIA role that has been flagged as having an invalid value.
Review the Element Source content to get a better idea of where the issue is found on your webpage.
Visit the W3C WAI-ARIA 1.2 Definitions of States and Properties to look up the attribute noted in your Failure Summary area.
Quick Checks & Common Issues
Is the value spelled correctly? For example,
aria-hidden="false"
will fail the check.When using an attribute that references the ID of another element on the page, ensure the ID exists and is spelled correctly.
Did you have
role="image"
flagged? That should berole="img"
.Don't use
aria-label
oraria-labelledby
on aspan
ordiv
unless it is given arole
.Third-party embeds (ex. SoundCloud, Slick slideshow)
Learn More
DubBot Flag:
ARIA attributes must conform to 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!