From dc356b6c7c7b2cec5268628657bc76d36c11854d Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Mon, 7 Aug 2017 11:40:40 +0100 Subject: [PATCH] Make focus colour pass WCAG The default combination of blue on orange is not easy to read. --- app/assets/stylesheets/components/navigation.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/assets/stylesheets/components/navigation.scss b/app/assets/stylesheets/components/navigation.scss index 02dc7970b..0119b5de3 100644 --- a/app/assets/stylesheets/components/navigation.scss +++ b/app/assets/stylesheets/components/navigation.scss @@ -29,6 +29,7 @@ border-left: 10px solid $yellow; border-right: 3px solid $yellow; right: -3px; + color: $text-colour; } } @@ -53,6 +54,10 @@ text-decoration: underline; } + &:focus { + color: $text-colour; + } + } }