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.
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
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>