From d47418e0ac7cb45e5410522486591b4f4f17bea6 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 Signed-off-by: Lucas Gass --- .../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.30.2