From 0d200abff3035e01e8212c7a280a05d42ca348fa Mon Sep 17 00:00:00 2001 From: Laura_Escamilla Date: Thu, 2 Apr 2026 20:01:43 +0000 Subject: [PATCH] Bug 42231: Fix accessibility issues in OPAC summary table The OPAC summary page contains several accessibility issues including an unlabeled renew checkbox, unlabeled textarea in the add note modal, and empty headings rendered before JavaScript population. Test plan: 1. Have a user with checkouts 2. Log into the OPAC and go to "Summary" 3. Notice the renew checkbox does not have a corresponding label 4. Apply the patch 5. Repeat steps 1-2 6. Confirm the renew checkbox now has a corresponding label Additional accessibility fixes: 7. Open the "Report a problem" modal 8. Confirm the note textarea has a corresponding label 9. Confirm addNoteTitle and suspendHoldTitle are not exposed as empty headings 10. Run an accessibility checker and confirm the related errors are resolved 11. Sign off and have a great day! :D Signed-off-by: David Nind Signed-off-by: Paul Derscheid Signed-off-by: Lucas Gass (cherry picked from commit 74e3c9f9872d86fbcfa10a204290476754fe4ecf) Signed-off-by: Baptiste Wojtkowski --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt index 05e5952922..006e460008 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt @@ -422,7 +422,10 @@ [% IF ISSUE.renewed %]Renewed!
[% END %] [% IF ( ISSUE.status ) %] [% IF ( canrenew ) %] + Renew [% END %] [% IF ISSUE.renewalfee > 0 %] @@ -566,8 +569,9 @@ @@ -1015,7 +1019,7 @@