From bed5199735b49424633c2e31beb1d1258aa8ed55 Mon Sep 17 00:00:00 2001 From: Henry Bolshaw Date: Mon, 20 Sep 2021 22:27:23 +0000 Subject: [PATCH] Bug 29065: Accessibility OPAC clear search history link has insufficient contrast This patch changes the colour of the clear search history link on the OPAC to increase the contrast ratio, improve accessibility and makes the text easier to read. To test: 1. Go to the OPAC homepage 2. Use an accessibility tool (e.g Chrome's Lighthouse tool) to check the contrast ratio 3. Confirm that the clear search history link has insufficient contrast 4. Apply the patch and rebuild css: yarn build --view opac 5. Confirm that the contrast ratio now meets minimum accessibility requirements 6. Check the OPAC still looks ok after the changes Signed-off-by: Owen Leonard Signed-off-by: Martin Renvoize Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall --- koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss b/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss index f32203c389..c502b4eaaa 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss +++ b/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss @@ -302,7 +302,7 @@ th { } &.clearsh { - color: #E8583C; + color: #D43C00; font-size: 80%; font-weight: normal; padding-bottom: .6rem; -- 2.39.2