Jump to the navigation menu

Ellipsis in pager template fails accessibility tests

<ul> and <ol> must only directly contain <li>, <script> or <template> elements
Ensures that lists are structured correctly

more informationLink opens in a new window
Element Location:
.pager__items
<ul class="pager__items js-pager__items">
To solve this problem, you need to fix the following:
List element has direct children that are not allowed: [role=presentation]

Related Node
<li class="pager__item pager__item--ellipsis" role="presentation">…</li>

Proposed resolution:

Replace role="presentation" with aria-label="additional pages".

About me

Picture of Oliver

I'm an certified Drupal Triple Expert with 18 years of experience, a Drupal core contributor, public speaker, live streamer, and host of the Beyond Blocks podcast.