Skip to content

Commit

Permalink
Disable focus outline on navigation link
Browse files Browse the repository at this point in the history
As we already apply a focus state to the link child element, there is no need for an additional focus outline on the link itself that User Agents apply as default
  • Loading branch information
kr8n3r committed Nov 14, 2024
1 parent 769a469 commit 22e2f47
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/assets/stylesheets/modules/_toc.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@

a:focus {
text-decoration: none;
outline: none;

span {
@include govuk-focused-text;
Expand Down

0 comments on commit 22e2f47

Please sign in to comment.