]> git.koha-community.org Git - koha.git/commit
Bug 29036: Accessibility OPAC buttons don't have sufficient contrast
authorHenry Bolshaw <bolshawh@parliament.uk>
Mon, 20 Sep 2021 21:50:28 +0000 (21:50 +0000)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Fri, 17 Dec 2021 18:38:28 +0000 (18:38 +0000)
commitc63cd5f29009f8194468aff6c89ab46efc9a3965
treeab27331e9192c75588c733374d6664860a779c3b
parent87a1132ee3c33ffb07228f9724cd0f6a6d67f64a
Bug 29036: Accessibility OPAC buttons don't have sufficient contrast

This patch changed the base colour of OPAC buttons to increase the
contrast ratio, improving accessibility and making the button text
easier to read.

To test:

1. Use an accessibility tool (e.g. Chrome's Lighthouse tool) to check
   the contrast ratio on the OPAC
2. Confirm that the OPAC buttons don't have sufficient colour contrast
3. Apply the patch and rebuild css:
   yarn build --view opac
4. Use the accessibility tool to confirm the button contrast ratio now
   meets minimum accessibility requirements
5. Check that the OPAC still looks ok after the changes

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: jeremy breuillard <jeremy.breuillard@biblibre.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 43a3df5c0b6cb0a1fa5dde5920bc2d5ed3007da8)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/css/src/_common.scss