From c64f707691a9dbb889538ddb4ebbd08b745b25cb Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 5 May 2026 11:47:58 +0000 Subject: [PATCH] Bug 42498: Fix invalid aria attribute in OPAC search results pagination This patch corrects the aria-current attribute in OPAC search results pagination. There should be no aria-current attribute on the list item, and the aria-current value on the link should be "page." To test, apply the patch and perform a catalog search in the OPAC which will return multiple pages of results. View the page source or use the developer console to inspect the HTML of the active pagination link. It should have an aria-current label with the value "page." The containing list item should not have an aria-current label. Sponsored-by: Athens County Public Libraries Signed-off-by: David Nind Signed-off-by: Laura_Escamilla Signed-off-by: Lucas Gass --- koha-tmpl/opac-tmpl/bootstrap/en/includes/page-numbers.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/page-numbers.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/page-numbers.inc index c29a30b5e2..5b4465960d 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/page-numbers.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/page-numbers.inc @@ -26,8 +26,8 @@ [% END %] [% FOREACH PAGE_NUMBER IN PAGE_NUMBERS %] [% IF ( PAGE_NUMBER.highlight ) %] -
  • - [% PAGE_NUMBER.pg | html %] +
  • + [% PAGE_NUMBER.pg | html %]
  • [% ELSE %]