Web Happens

Accessibility Action report

Average Joe's

Back

Elements must only use allowed ARIA attributes

Ensures ARIA attributes are allowed for an element's role


Status
For review
Impact
Serious
Category
Aria
WCAG criteria
Guidance
Deque University

1 potential issue across 1 page

What to review

  • aria-label attribute is not well supported on a div with no valid role attribute.

Where to look

We found occurrences on 1 page:

  1. alphagov.github.io/accessibility-tool-audit/tests/multimedia-flashing-content-doesnt-have-warning.html

    HTML node
    <div class="html5-video-player ytp-exp-bottom-control-flexbox ytp-embed ytp-embed-playlist ytp-menu-shown ytp-hide-info-bar ytp-embed-error" tabindex="-1" id="movie_player" data-version="/s/player/0cd11746/player_ias.vflset/en_US/base.js" aria-label="YouTube Video Player">
    CSS selectors
    iframe;
    #movie_player