Fixed dropdown accessibility issue

- Removed non-existing dropdownMenuButton references
- Added appropriate roles to dropdown menus
This commit is contained in:
Alexandre Vryghem
2023-12-26 11:26:08 +01:00
parent 9e29cfb68d
commit ca24713d6d
11 changed files with 44 additions and 34 deletions

View File

@@ -1,5 +1,9 @@
.list-item:active {
color: white !important;
.dropdown-item {
padding: 0.35rem 1rem;
&:active {
color: white !important;
}
}
.scrollable-menu {
@@ -8,7 +12,7 @@
overflow-x: hidden;
}
.entity-item {
li:not(:last-of-type) .dropdown-item {
border-bottom: var(--bs-dropdown-border-width) solid var(--bs-dropdown-border-color);
}