Skip to content

Commit 6a9faa9

Browse files
Adding focus for the header button for accessibility
1 parent 921d879 commit 6a9faa9

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

  • docroot/themes/custom/govcon/components/organisms/header

docroot/themes/custom/govcon/components/organisms/header/header.scss

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,11 @@ header {
3939

4040
.header__menu:not(.open) {
4141
a.button.secondary {
42-
box-shadow: inset $button-offset $button-offset 0px rgb(169 187 203), $button-offset $button-offset 0px color.$secondary;
42+
box-shadow: inset $button-offset $button-offset 0 rgb(169 187 203), $button-offset $button-offset 0 color.$secondary;
4343

44-
&:hover {
45-
box-shadow: inset 0px 0px;
44+
&:hover,
45+
&:focus {
46+
box-shadow: inset 0 0;
4647
}
4748
}
4849
}

0 commit comments

Comments
 (0)