From bfa3956cd3965fe18e13aaaf07cf51064a59fa79 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: Pedro Amorim --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt | 10 +++++++--- 1 file changed, 7 insertions(+), 3 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 0ce4456887..6ac2aa6b28 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt @@ -443,7 +443,10 @@ [% IF ISSUE.renewed %]Renewed!
[% END %] [% IF ( ISSUE.status ) %] [% IF ( canrenew ) %] - + Renew [% END %] [% IF ISSUE.renewalfee > 0 %] @@ -587,8 +590,9 @@ @@ -1037,7 +1041,7 @@