From 5ff75846bd468b63dc599377e45ca7486253d710 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 --- 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..efd767cb54 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss +++ b/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss @@ -1958,7 +1958,7 @@ nav { .suggestion { background-color: #F0F3F3; border: 1px solid #F0F3F3; - color: #727272; + color: #666666; margin: 1em auto; padding: .5em; width: 35%; -- 2.20.1