From b1db73d78cae34183900116356cd4acf6d865c5c Mon Sep 17 00:00:00 2001 From: Edward Horsford Date: Mon, 30 Jan 2017 13:01:43 +0000 Subject: [PATCH] Make focused links slightly darker to improve contrast --- source/assets/stylesheets/_accessibility.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/assets/stylesheets/_accessibility.scss b/source/assets/stylesheets/_accessibility.scss index 27491265..2029d93a 100644 --- a/source/assets/stylesheets/_accessibility.scss +++ b/source/assets/stylesheets/_accessibility.scss @@ -60,6 +60,11 @@ a:focus { outline: 3px solid $focus-colour; } +/* Make links slightly darker when focused to improve contrast. */ +a:link:focus { + color: darken( $link-colour, 2.5%) +} + /* Make skiplinks visible when they are tabbed to */ .skiplink {