omeka / Omeka

A flexible web publishing platform for the display of library, museum and scholarly collections, archives and exhibitions.
http://omeka.org
GNU General Public License v3.0
472 stars 193 forks source link

Pagination navigation needs unique landmark name #1030

Open kimisgold opened 1 week ago

kimisgold commented 1 week ago

Even though we provide an aria-label for our pagination element, accessibility audit tools are flagging it because the label is not unique. This is what we currently have.

<nav class="pagination-nav" aria-label="<?php echo __('Pagination'); ?>">

This is the error I see.

image
zerocrates commented 5 days ago

possibilities: mark the second pagination as aria-hidden? its duplication maybe isn't really useful for screenreader users. and if hidden it doesn't need the label

kimisgold commented 4 days ago

That works. It for sure reduces the number of landmarks a screenreader would have to navigate.