From 5c47fd33f3d9b3917e3db5fe2ea4e38687332c28 Mon Sep 17 00:00:00 2001 From: Matt Blenkinsop Date: Tue, 23 May 2023 16:08:31 +0000 Subject: [PATCH] Bug 33812: Checkboxes need labels in opac-messaging.tt Aria-labels have been added to checkboxes in the OPAC messaging preferences table to assist with screen reading. The relevant preference has been mentioned in each label to identify what the checkbox is for. Signed-off-by: Sam Lau Signed-off-by: Marcel de Rooy Signed-off-by: Tomas Cohen Arazi --- .../bootstrap/en/modules/opac-messaging.tt | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt index cf3dd4c555..17158215de 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt @@ -81,7 +81,7 @@ [% ELSIF ( messaging_preference.Auto_Renewals ) %]Auto renewal [% ELSE %]Unknown [% END %] [% IF ( messaging_preference.takes_days ) %] - [% FOREACH select_day IN messaging_preference.select_days %] [% IF ( select_day.selected ) %] @@ -97,9 +97,9 @@ [% IF ( messaging_preference.transport_sms ) %] [% IF ( messaging_preference.transports_sms ) %] - + [% ELSE %] - + [% END %] [% ELSE %] @@ -111,12 +111,14 @@ [% IF ( messaging_preference.transports_phone ) %] [% ELSE %] [% IF ( messaging_preference.transports_itiva ) %] [% ELSE %] [% IF ( messaging_preference.transports_email ) %] - + [% ELSE %] - + [% END %] [% ELSE %] @@ -164,9 +168,9 @@ [% IF ( messaging_preference.has_digest ) %] [% IF ( messaging_preference.digest ) %] - + [% ELSE %] - + [% END %] [% ELSE %] -- 2.39.5