Improvement to accessibility in dropdown

Added the ability to tab through dropdowns and there elements when focused.
This commit is contained in:
Jovica Veljkovic
2024-04-15 02:22:58 +02:00
committed by GitHub
parent 55459a6103
commit da5eaadb2a

View File

@@ -60,6 +60,8 @@
padding: 0 5px;
}
.dropdown:focus .dropdown-menu,
.dropdown:focus-within .dropdown-menu,
.dropdown:hover .dropdown-menu {
display: block;
}