diff options
author | Caroline Chuong <caroline.chuong@octo.com> | 2020-06-11 19:19:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-11 19:19:23 +0200 |
commit | adcf921271654b25f03949d2271d7d7c362985af (patch) | |
tree | e00b3cc5e501950da7c23cc774798d8121f3156a /client/src/app/shared/menu | |
parent | 45800f7e63665708665ab0252049e54846ec84c5 (diff) | |
download | PeerTube-adcf921271654b25f03949d2271d7d7c362985af.tar.gz PeerTube-adcf921271654b25f03949d2271d7d7c362985af.tar.zst PeerTube-adcf921271654b25f03949d2271d7d7c362985af.zip |
add keyboard navigation for video actions (#2854)
Co-authored-by: Rigel Kent <sendmemail@rigelk.eu>
Diffstat (limited to 'client/src/app/shared/menu')
-rw-r--r-- | client/src/app/shared/menu/top-menu-dropdown.component.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/shared/menu/top-menu-dropdown.component.html b/client/src/app/shared/menu/top-menu-dropdown.component.html index 7b13eade4..aeaceb662 100644 --- a/client/src/app/shared/menu/top-menu-dropdown.component.html +++ b/client/src/app/shared/menu/top-menu-dropdown.component.html | |||
@@ -24,7 +24,7 @@ | |||
24 | 24 | ||
25 | <div ngbDropdownMenu> | 25 | <div ngbDropdownMenu> |
26 | <a *ngFor="let menuChild of menuEntry.children" class="dropdown-item" [ngClass]="{ icon: hasIcons }" [routerLink]="menuChild.routerLink"> | 26 | <a *ngFor="let menuChild of menuEntry.children" class="dropdown-item" [ngClass]="{ icon: hasIcons }" [routerLink]="menuChild.routerLink"> |
27 | <my-global-icon *ngIf="menuChild.iconName" [iconName]="menuChild.iconName"></my-global-icon> | 27 | <my-global-icon *ngIf="menuChild.iconName" [iconName]="menuChild.iconName" aria-hidden="true"></my-global-icon> |
28 | 28 | ||
29 | {{ menuChild.label }} | 29 | {{ menuChild.label }} |
30 | </a> | 30 | </a> |
@@ -40,7 +40,7 @@ | |||
40 | <a *ngFor="let menuChild of menuEntry.children" | 40 | <a *ngFor="let menuChild of menuEntry.children" |
41 | [ngClass]="{ icon: hasIcons }" | 41 | [ngClass]="{ icon: hasIcons }" |
42 | [routerLink]="menuChild.routerLink" routerLinkActive="active" (click)="dismissOtherModals()"> | 42 | [routerLink]="menuChild.routerLink" routerLinkActive="active" (click)="dismissOtherModals()"> |
43 | <my-global-icon *ngIf="menuChild.iconName" [iconName]="menuChild.iconName"></my-global-icon> | 43 | <my-global-icon *ngIf="menuChild.iconName" [iconName]="menuChild.iconName" aria-hidden="true"></my-global-icon> |
44 | 44 | ||
45 | {{ menuChild.label }} | 45 | {{ menuChild.label }} |
46 | </a> | 46 | </a> |