Bugzilla – Attachment 193908 Details for
Bug 41933
Course reserves OPAC DataTables search field missing accessible label
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41933: Add accessible label to course reserves search input
Bug-41933-Add-accessible-label-to-course-reserves-.patch (text/plain), 1.51 KB, created by
Laura Escamilla
on 2026-02-25 15:42:26 UTC
(
hide
)
Description:
Bug 41933: Add accessible label to course reserves search input
Filename:
MIME Type:
Creator:
Laura Escamilla
Created:
2026-02-25 15:42:26 UTC
Size:
1.51 KB
patch
obsolete
>From 16f567baba92879a4920b2a2b9e07a579fb8f60c Mon Sep 17 00:00:00 2001 >From: Laura_Escamilla <laura.escamilla@bywatersolutions.com> >Date: Wed, 25 Feb 2026 15:41:19 +0000 >Subject: [PATCH] Bug 41933: Add accessible label to course reserves search > input > >To test: >1. Apply the patch. >2. Navigate to the OPAC course reserves page: http://localhost:8080/cgi-bin/koha/opac-course-reserves.pl >3. Inspect the course reserves search input using browser developer tools. >4. Confirm the search input has an associated <label> containing accessible text (e.g. "Search courses"). >5. Confirm the visual appearance of the search control is unchanged. >6. Sign off >--- > .../opac-tmpl/bootstrap/en/modules/opac-course-reserves.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-reserves.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-reserves.tt >index e168098b262..8c83ada9dc1 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-reserves.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-reserves.tt >@@ -92,7 +92,7 @@ > order: [[1, "asc"]], > asColumnDefs: [{ aTargets: [1], sType: "nsb-nse" }], > language: { >- search: "_INPUT_", >+ search: _("<span class='visually-hidden'>Search courses</span> _INPUT_"), > searchPlaceholder: _("Search courses"), > }, > responsive: { >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 41933
:
193908
|
194014