Bug 29070: Accessibility OPAC Purchase suggestions box on search results page has...
authorHenry Bolshaw <bolshawh@parliament.uk>
Mon, 20 Sep 2021 23:38:17 +0000 (23:38 +0000)
committerKyle Hall <kyle@bywatersolutions.com>
Fri, 8 Oct 2021 12:04:04 +0000 (08:04 -0400)
commit97f32e7301fbe23d48533d128170b85ecc14e67b
treeeec7eeededea9a647e9672ba267eb63387420df3
parent4efc0fc05608b2ab280073821e7840b798bb2349
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 <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss