From 2807151bd15d85b80256595c1450e28b9a521193 Mon Sep 17 00:00:00 2001 From: Mat Moore Date: Thu, 26 Sep 2024 15:35:11 +0100 Subject: [PATCH 1/2] Visually hidden label does not need to be a label This label was not associated with anything. If it's just regular text inside a ` From 5ca2dd84d2e3afeb729bfbfd66d0a7030518e479 Mon Sep 17 00:00:00 2001 From: Mat Moore Date: Thu, 26 Sep 2024 15:44:23 +0100 Subject: [PATCH 2/2] Increase contrast of search icon This is no longer being flagged by Wave, but there was still a low contrast between the search icon and its background. Using dark-blue gives us a 9.37:1 contrast ratio which is easier to perceive. --- scss/components/_search.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scss/components/_search.scss b/scss/components/_search.scss index 86be595c..de90097a 100644 --- a/scss/components/_search.scss +++ b/scss/components/_search.scss @@ -72,7 +72,7 @@ button { background-color: #d2e2f1; - color: govuk-colour("blue"); + color: govuk-colour("dark-blue"); &:hover { background-color: lighten(#d2e2f1, 5%);