From 14eb887f7728350a768d3986596569db1b717ed8 Mon Sep 17 00:00:00 2001 From: Henry Bolshaw Date: Mon, 20 Sep 2021 22:45:55 +0000 Subject: [PATCH] Bug 29068: Accessibility OPAC search results summary text has insufficient contrast This patch changes the colour of the label text in OPAC search results to increase the contrast ratio, improve accessibility and make the text easier to read. To test: 1. Search for something on the OPAC 2. Use an accessibility tool (e.g. Chrome's Lighthouse tool) to check the contrast ratio 3. Confirm that the labels (Edition, Format etc.) in the results summary have 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 minimum accessibility requirements 6. Check that the OPAC still looks ok after the changes Signed-off-by: Owen Leonard Signed-off-by: Katrin Fischer --- 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..f70ed17def 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss +++ b/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss @@ -1029,7 +1029,7 @@ div { } .label { - color: #707070; + color: #666666; } a { -- 2.11.0