Global styles conflict with skip link component #4930
Labels
accessibility
🐛 bug
Something isn't working the way it should (including incorrect wording in documentation)
skip link
Milestone
Description of the issue
When
$govuk-global-styles
is set to true in Sass, the underline is missing from skip links.$govuk-global-styles
applies govuk-focus-text to all links, which removes underline and addsbox-shadow
.But the skip link component removes box shadow in this case, without adding back in the underline.
We are using global styles because our service contains some content that is rendered from markdown, and we cannot easily apply the proper classes to the generated HTML.
To get the underline I need to manually add some extra CSS.
Steps to reproduce the issue
Actual vs expected behaviour
Actual - no underline
Expected
Environment (where applicable)
The text was updated successfully, but these errors were encountered: