The listing pagination nav has an aria-label, but it is hardcoded English: aria-label="Page Navigation" (_pagination.ejs.md#L4). On a non-English site the label stays English. The same template already uses the localization helper two lines above (_pagination.ejs.md#L2, listing.utilities.localizedString("listing-page-no-matches")), so a language key is a drop-in fix.
Suggested fix: add a listing-pagination-label language key and use it via listing.utilities.localizedString. A default of "Pagination" also avoids a label collision with the prev/next page navigation ("Page navigation"), which appears on the same page when a site sets page-navigation: true (see #14376).
Split from #14376. Part of #8706.
Investigation was AI-assisted, grounded in a local clone (per CONTRIBUTING.md).
The listing pagination nav has an
aria-label, but it is hardcoded English:aria-label="Page Navigation"(_pagination.ejs.md#L4). On a non-English site the label stays English. The same template already uses the localization helper two lines above (_pagination.ejs.md#L2,listing.utilities.localizedString("listing-page-no-matches")), so a language key is a drop-in fix.Suggested fix: add a
listing-pagination-labellanguage key and use it vialisting.utilities.localizedString. A default of "Pagination" also avoids a label collision with the prev/next page navigation ("Page navigation"), which appears on the same page when a site setspage-navigation: true(see #14376).Split from #14376. Part of #8706.
Investigation was AI-assisted, grounded in a local clone (per CONTRIBUTING.md).