From 6dbbf5a5e4d2c06c1646aa5b7bbe38e5e5be4637 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 Signed-off-by: Kyle M Hall --- .../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 6a57bdc1836..451e2f70963 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