diff --git a/src/layouts/_contrast-fix.scss b/src/layouts/_contrast-fix.scss deleted file mode 100644 index 232b2f840..000000000 --- a/src/layouts/_contrast-fix.scss +++ /dev/null @@ -1,22 +0,0 @@ -// There is an issue, where all elements provided by the govuk-frontend will -// have a yellow background set on :focus. It's particularly affecting links, -// buttons and summary boxes. These elements also have a blue text in them, -// which could cause difficulty to our users when it comes to reading the -// content. It means we don't meet the required WCAG 2 AA standard [1]. - -// Design system team thinks the roll out may take a long time, due to the -// nature of it being used in the wide government and have no issues with -// us overriding it with the provided black colour. - -// This is only a temporary solution and should be reverted back once the -// issue upstream is resolved. [2] - -// [1]: https://snook.ca/technical/colour_contrast/colour.html#fg=005EA5,bg=FFBF47 -// [2]: https://github.com/alphagov/govuk-frontend/issues/944 -$darkBlue: #003A66; - -:focus { - &, &:hover, &:link, &:visited, &:active { - color: $darkBlue; - } -} diff --git a/src/layouts/govuk.screen.scss b/src/layouts/govuk.screen.scss index 79c64f86d..71c37fd22 100644 --- a/src/layouts/govuk.screen.scss +++ b/src/layouts/govuk.screen.scss @@ -19,8 +19,6 @@ $govuk-global-styles: true; @import '../components/statements/statements'; -@import './contrast-fix'; - .text-right { text-align: right; }