Bug 41933 - Course reserves OPAC DataTables search field missing accessible label
Summary: Course reserves OPAC DataTables search field missing accessible label
Status: Signed Off
Alias: None
Product: Koha
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Laura Escamilla
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-02-25 15:37 UTC by Laura Escamilla
Modified: 2026-02-26 15:55 UTC (History)
3 users (show)

See Also:
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 (1.51 KB, patch)
2026-02-25 15:42 UTC, Laura Escamilla
Details | Diff | Splinter Review
Bug 41933: Add accessible label to course reserves search input (1.56 KB, patch)
2026-02-26 15:55 UTC, Owen Leonard
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
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>