From add5c5e322cb3c1213afc7491c17ba6e80e327be Mon Sep 17 00:00:00 2001 From: Laura_Escamilla Date: Wed, 5 Nov 2025 21:18:06 +0000 Subject: [PATCH] Bug 41198: Add visible "Sort results by" label above sort dropdown in OPAC search results This patch adds a visible "Sort results by:" label above the sort dropdown on the OPAC search results toolbar. Previously, only a screen-reader-only label was present, providing no visible context for sighted users. This improves accessibility (WCAG 2.1 compliance) and usability by making the function of the dropdown clear. To test: 1. Perform a search in the OPAC. 2. Confirm that the "Sort results by:" text appears above the sort dropdown. 3. Verify that the dropdown still functions correctly and the layout remains consistent across screen sizes. Signed-off-by: David Nind Signed-off-by: Baptiste Wojtkowski Signed-off-by: Lucas Gass (cherry picked from commit 2ea04163a3a0735d6136ab05b5b695ea2296e092) Signed-off-by: Paul Derscheid --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt | 1 + 1 file changed, 1 insertion(+) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt index b1c326cdde..9936059600 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt @@ -198,6 +198,7 @@
[% INCLUDE 'page-numbers.inc' %]
[% UNLESS tag %]
+