Ensure elements with an ARIA role that require child roles contain them

Created on 15 May 2025, 1 day ago

Problem/Motivation

Certain ARIA roles must contain particular children1
Element Location:
.cookiesjsr-service-groups
<ul class="cookiesjsr-service-groups" role="tablist" aria-label="Cookie-instellingen">

To solve this problem, you need to fix the following:
Element has children which are not allowed: li[tabindex]

Related Node
<li class="cookiesjsr-service-group active">

Certain ARIA roles must be contained by particular parents
Ensure elements with an ARIA role that require parent roles are contained by them

Element Location:
#tab-functional
<button class="cookiesjsr-service-group--tab" role="tab" aria-selected="true" tabindex="0" aria-controls="panel-functional" id="tab-functional">Functioneel</button>

To solve this problem, you need to fix the following:
Required ARIA parent role not present: tablist

<li> elements must be contained in a <ul> or <ol>
Ensure li-elements are used semantically

Element Location:
.cookiesjsr-service-group
<li class="cookiesjsr-service-group active">

To solve this problem, you need to fix the following:
List item parent element has a role that is not role="list"

🐛 Bug report
Status

Active

Version

1.2

Component

User interface

Created by

🇳🇱Netherlands johanvoeten

Live updates comments and jobs are added and updated live.
  • Accessibility

    It affects the ability of people with disabilities or special needs (such as blindness or color-blindness) to use Drupal.

  • Needs accessibility review

    Used to alert the accessibility topic maintainer(s) that an issue significantly affects (or has the potential to affect) the accessibility of Drupal, and their signoff is needed (see the governance policy draft for more information). Useful links: Drupal's accessibility standards, the Drupal Core accessibility gate.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024