Skip to content

Commit 1dd76a4

Browse files
anweshasaha9niteshsyngenta11
authored andcommitted
DGC-187: Updated code for keyboard accessibility issue for sub-menu. (#169)
1 parent 16d71d1 commit 1dd76a4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • docroot/themes/custom/govcon/components/molecules/menu

docroot/themes/custom/govcon/components/molecules/menu/menu.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,20 +64,20 @@ nav {
6464
}
6565

6666
ul.dropdown-menu {
67-
visibility: visible;
67+
display: block;
6868
}
6969
}
7070

7171
&:focus-within {
7272
ul.dropdown-menu {
73-
visibility: visible;
73+
display: block;
7474
}
7575
}
7676
}
7777
}
7878

7979
ul.dropdown-menu {
80-
visibility: hidden;
80+
display: none;
8181
position: absolute;
8282
top: 82px;
8383

0 commit comments

Comments
 (0)