Bug 41933

Summary: Course reserves OPAC DataTables search field missing accessible label
Product: Koha Reporter: Laura Escamilla <Laura.escamilla>
Component: AccessibilityAssignee: Laura Escamilla <Laura.escamilla>
Status: Signed Off --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: martin.renvoize, matt.blenkinsop, oleonard
Version: Main   
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Bug 41933: Add accessible label to course reserves search input
Bug 41933: Add accessible label to course reserves search input

Description Laura Escamilla 2026-02-25 15:37:03 UTC
The search input generated for the course reserves table in the OPAC uses language.search: "_INPUT_", which produces an empty <label> element. This results in the search field lacking an accessible name for screen reader users and fails accessibility requirements.
Comment 1 Laura Escamilla 2026-02-25 15:42:26 UTC
Created attachment 193908 [details] [review]
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
Comment 2 Owen Leonard 2026-02-26 15:55:49 UTC
Created attachment 194014 [details] [review]
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

Signed-off-by: Owen Leonard <oleonard@myacpl.org>