From e3c9a5e2b30411416ea898be9b822b994dcadc90 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 --- 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 c665cfea5d..e7ee23d6dc 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss +++ b/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss @@ -315,7 +315,7 @@ th { } &.clearsh { - color: #E8583C; + color: #D43C00; font-size: 80%; font-weight: normal; padding-bottom: .6rem; -- 2.20.1