From 25bb00eec324f2492b33c97efa437282df2df016 Mon Sep 17 00:00:00 2001 From: Matt Blenkinsop Date: Tue, 23 May 2023 14:15:30 +0000 Subject: [PATCH] Bug 33809: Place hold and Add to cart links need better descriptions The place hold and add to cart buttons should identify to screen readers which title the button is linked to. This patch adds aria-labels that include the item title to make this more clear --- .../bootstrap/en/includes/title-actions-menu.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/title-actions-menu.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/title-actions-menu.inc index 9f1fb2015e..bfcfd7a6cb 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/title-actions-menu.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/title-actions-menu.inc @@ -4,14 +4,14 @@ [% IF Koha.Preference( 'opacuserlogin' ) == 1 %] [% IF ( shelf AND op == 'view' ) # Lists view has more granular checking of hold availability %] [% IF ( items.allow_onshelf_holds ) %] - Place hold + Place hold [% ELSE %] [% IF ( items.itemsissued ) %] - Place hold + Place hold [% END %] [% END %] [% ELSE %] - Place hold + Place hold [% END %] [% END # / IF opacuserlogin %] [% END # / UNLESS items.norequests %] @@ -63,7 +63,7 @@ [% IF ( items.incart ) %] In your cart (remove) [% ELSE %] - Add to cart + Add to cart [% END %] [% END # / IF opacbookbag %] -- 2.37.1 (Apple Git-137.1)