From 6b55349f7843e0422f8b672879762455a1efb114 Mon Sep 17 00:00:00 2001 From: Henry Bolshaw Date: Mon, 20 Sep 2021 21:10:15 +0000 Subject: [PATCH] Bug 29038: Accessibility OPACUserSummary heading doesn't have sufficient contrast This patch changes the colour of the OPAC User Summary heading text to increase the contrast ratio, improving accessibility and making the text easier to read. To test: 1. Log in to the OPAC homepage as a user with items checked out 2. Use an accessibility tool (e.g. Chrome's Lighthouse tool) to test the contrast ratio. 3. Confirm the UserSummary heading has insufficient contrast. 4. Apply the patch and rebuild css: yarn build --view opac 5. Use the accessibility tool to confirm the contrast ratio now meets 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..ae074e66d0 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss +++ b/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss @@ -2413,7 +2413,7 @@ nav { h2 { background-color: #E2E8E8; - color: #727272; + color: #666666; font-size: 1.1rem; margin-top: 0; padding: 5px; -- 2.20.1