From 514edffc1636258c5492b573f5f4627d29830a98 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..6c24ed5046 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)