]> git.koha-community.org Git - koha.git/commit
Bug 29065: Accessibility OPAC clear search history link has insufficient contrast
authorHenry Bolshaw <bolshawh@parliament.uk>
Mon, 20 Sep 2021 22:27:23 +0000 (22:27 +0000)
committerKyle Hall <kyle@bywatersolutions.com>
Fri, 8 Oct 2021 12:03:28 +0000 (08:03 -0400)
commitbed5199735b49424633c2e31beb1d1258aa8ed55
treecc77ed41f4d3d4de6a997ea98f2bd2f918d3a65a
parent029e701471065324a0090dfa8ccae0463c81d512
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

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
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