From 029e701471065324a0090dfa8ccae0463c81d512 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 Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall --- 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 0a63785135..f32203c389 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss +++ b/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss @@ -2396,7 +2396,7 @@ nav { h2 { background-color: #E2E8E8; - color: #727272; + color: #666666; font-size: 1.1rem; margin-top: 0; padding: 5px; -- 2.39.2