mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
fix issue with dropdowns key accessibility
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<li class="nav-item dropdown"
|
||||
(keyup.enter)="activateSection($event)"
|
||||
(mouseenter)="activateSection($event)"
|
||||
(mouseleave)="deactivateSection($event)">
|
||||
<a href="#" class="nav-link dropdown-toggle" routerLinkActive="active"
|
||||
|
@@ -7,7 +7,7 @@
|
||||
<i class="fas fa-globe-asia fa-lg fa-fw"></i>
|
||||
</a>
|
||||
<ul ngbDropdownMenu class="dropdown-menu" [attr.aria-label]="'nav.language' |translate">
|
||||
<li class="dropdown-item" #langSelect *ngFor="let lang of translate.getLangs()"
|
||||
<li class="dropdown-item" tabindex="0" #langSelect *ngFor="let lang of translate.getLangs()"
|
||||
(click)="useLang(lang)"
|
||||
[class.active]="lang === translate.currentLang">
|
||||
{{ langLabel(lang) }}
|
||||
|
Reference in New Issue
Block a user