From 1d5bc14f2f4e9249b3765fdecc0e2942c85ef613 Mon Sep 17 00:00:00 2001 From: "Marin @Home" Date: Tue, 11 Nov 2025 12:30:09 -0500 Subject: [PATCH] Adds ARIA label to pagination with English translation --- app/views/admin/shared/_stimulus_pagination.html.haml | 2 +- config/locales/en.yml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/admin/shared/_stimulus_pagination.html.haml b/app/views/admin/shared/_stimulus_pagination.html.haml index e8f3df710a..d95bcc2daf 100644 --- a/app/views/admin/shared/_stimulus_pagination.html.haml +++ b/app/views/admin/shared/_stimulus_pagination.html.haml @@ -1,6 +1,6 @@ - link = pagy_anchor(pagy) -%nav{ "data-controller": "search" } +%nav{ "aria-label": t('.navigation'), "data-controller": "search" } %ul.pagination - if pagy.prev %li diff --git a/config/locales/en.yml b/config/locales/en.yml index bf2406c867..3752c1b8f7 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -1856,6 +1856,8 @@ en: images: "Images" contact: "Contact" web: "Web Resources" + stimulus_pagination: + navigation: Pagination enterprise_issues: create_new: Create New resend_email: Resend Email