From 97f32e7301fbe23d48533d128170b85ecc14e67b Mon Sep 17 00:00:00 2001 From: Henry Bolshaw Date: Mon, 20 Sep 2021 23:38:17 +0000 Subject: [PATCH] Bug 29070: Accessibility OPAC Purchase suggestions box on search results page has insufficient contrast This patch changes the text colour for the purchase suggestion box on the OPAC search results page to make the text easier to read and improve accessibility. To test: 1. Log in to the OPAC and search for something 2. Use an accessibility tool (e.g. Chrome's Lighthouse tool) to check the contrast ratio 3. Confirm that the Purchase suggestion text fails to meet accessibility requirements 4. Apply the patch and rebuild CSS: yarn build --view opac 5. Confirm the text contrast ratio now meets minimum accessibility requirements 6. Check that the OPAC still looks ok after the changes. Signed-off-by: Owen Leonard Signed-off-by: Katrin Fischer 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 84a0fd3cfd..24f9089eab 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss +++ b/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss @@ -1941,7 +1941,7 @@ nav { .suggestion { background-color: #F0F3F3; border: 1px solid #F0F3F3; - color: #727272; + color: #666666; margin: 1em auto; padding: .5em; width: 35%; -- 2.39.2