From ff9cd4bcd044713fc5ebb07294cd6ec501549002 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 --- 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 fc86e45f20..7955e964bf 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss +++ b/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss @@ -2409,7 +2409,7 @@ nav { h2 { background-color: #E2E8E8; - color: #727272; + color: #666666; font-size: 1.1rem; margin-top: 0; padding: 5px; -- 2.39.5