aria attributes do not match their roles
-
Pagespeed Insights is throwing accessibility errors for UB FAQ blocks (“aria attributes do not match their roles”) for FAQ blocks. I believe this is because an aria role has not been declared before the aria-expanded and aria-controls are being declared. The specific wording:
?attributes do not match their roles
[aria-*]Each ARIA
role
supports a specific subset ofaria-*
attributes. Mismatching these invalidates thearia-*
attributes.Could this be updated so that the blocks comply with aria guidelines?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘aria attributes do not match their roles’ is closed to new replies.