From f0fc4cf9f9903ea1175d9d93e8aa23cf72ed8c3d Mon Sep 17 00:00:00 2001 From: Andy Sellick Date: Fri, 14 Aug 2020 14:12:42 +0100 Subject: [PATCH] Fix focus states for 'applies to' links - when the link has been visited and then focussed, the style was for white text on a yellow (focussed) background - adds an explicit focus state colour to fix this --- app/assets/stylesheets/components/_important-metadata.scss | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/components/_important-metadata.scss b/app/assets/stylesheets/components/_important-metadata.scss index 689c43e78..77eb1731d 100644 --- a/app/assets/stylesheets/components/_important-metadata.scss +++ b/app/assets/stylesheets/components/_important-metadata.scss @@ -31,6 +31,9 @@ .app-link { color: govuk-colour("white"); - } + &:focus { + color: $govuk-text-colour; + } + } }