From de7064188c906de8f7fde8e6742ad4d61682b9a6 Mon Sep 17 00:00:00 2001 From: Alexander Blanchard Date: Fri, 25 Apr 2025 10:27:53 +0000 Subject: [PATCH] Bug 39492: Browse Shelf Links on Publications Pg An accessibility audit has highlighted that the Browse Shelf link on the Publicaitons page does not provide enough context for visually impaired users. The suggested solution was to add aria-labels to provide context. This follow up patch addresses the missing html filter. To test: 1) Ensure that you have at least one item with a call number. 2) Navigate to the item's page and scroll down to the table. 3) Right click and choose inspect on the 'Browse Shelf' link and note that there is not an aria label. 4) Apply patch. 5) Repeat the steps above. 6) Notice that there is an aria-label that adds context to the Browse Shelf link by including the title of the record. --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt index a87464aed5..dde870ceb6 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt @@ -1428,13 +1428,13 @@ (Browse shelf???(Opens below)Browse shelf(Opens below)) [% ELSE %] (Browse shelf(Opens below)) [% END %] -- 2.39.5