Question about ellipses in pagination

Hello,

There's an open Drupal issue where ellipses in pagination is getting flagged by accessibility scanners:
https://www.drupal.org/project/drupal/issues/3348552

The current suggestion is to replace:
<li class="pager__item pager__item--ellipsis" role="presentation">...</li>

With something like:
<li class="pager__item pager__item--ellipsis" aria-label="additional pages">...</li>

I see in the W3C design system that neither role nor any ARIA attributes are added to the ellipses:
https://design-system.w3.org/components/pagination.html

Would it be better to go that route and not do anything special? Leave off role and any ARIA attributes for ellipses?

Thanks!

  *   Joshua

Received on Thursday, 24 July 2025 06:59:58 UTC