Skip to content

Commit

Permalink
Change nav focus to focus-visible (#37784)
Browse files Browse the repository at this point in the history
Co-authored-by: Patrick H. Lauke <redux@splintered.co.uk>
  • Loading branch information
mdo and patrickhlauke authored Jan 3, 2023
1 parent e60002b commit e30916b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scss/_nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
text-decoration: if($link-hover-decoration == underline, none, null);
}

&:focus {
&:focus-visible {
outline: 0;
box-shadow: $nav-link-focus-box-shadow;
}
Expand Down

0 comments on commit e30916b

Please sign in to comment.