• Resolved wearstoomanyhats

    (@wearstoomanyhats)


    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:

    [aria-*]
    ?attributes do not match their roles

    Each ARIA role supports a specific subset of aria-* attributes. Mismatching these invalidates the aria-* 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.