From 8ce97dbdba701de336b51498c06c480320d98d29 Mon Sep 17 00:00:00 2001 From: Andy Sellick Date: Mon, 12 Aug 2019 08:01:39 +0100 Subject: [PATCH] Fix expander focus style --- app/assets/stylesheets/components/_expander.scss | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/components/_expander.scss b/app/assets/stylesheets/components/_expander.scss index 07745e0e58..2a666350f1 100644 --- a/app/assets/stylesheets/components/_expander.scss +++ b/app/assets/stylesheets/components/_expander.scss @@ -35,7 +35,6 @@ .app-c-expander__button { @include govuk-font(19, $weight: bold); - @include govuk-focusable; position: relative; width: 100%; border: 0; @@ -43,6 +42,10 @@ background: none; text-align: left; cursor: pointer; + + &:focus { + @include govuk-focused-text; + } } .js-enabled {