From 065afd65398c08dd9143bd9f086ed21f3d56ebe9 Mon Sep 17 00:00:00 2001
From: Henry Bolshaw <bolshawh@parliament.uk>
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.
---
 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