From fee16fa179cea24addcf563cd91647fb0b4392c4 Mon Sep 17 00:00:00 2001 From: Laura_Escamilla Date: Thu, 9 Apr 2026 17:56:13 +0000 Subject: [PATCH] Bug 42299: Add accessible label to star rating select in OPAC To test: 1. Set OpacStarRatings so it shows on the OPAC detail page 2. Notice star ratings has no associated label element 3. Apply the patch and refresh the OPAC detail page you were viewing. 4. Notice that the star ratings now have an accessible label. 5. Sign off and have a great day. :D Signed-off-by: David Nind Signed-off-by: Lucas Gass Signed-off-by: Pedro Amorim --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt | 1 + 1 file changed, 1 insertion(+) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt index 700a262577..a295b24b65 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt @@ -345,6 +345,7 @@ [% SET rating_avg = ratings.get_avg_rating() %] [% rating_avg_int = BLOCK %][% rating_avg | format("%.0f") %][% END %] +