aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-main
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-02-20 12:09:54 +0100
committerChocobozzz <me@florianbigard.com>2023-02-20 12:09:54 +0100
commit3ebb2987c2b6338e6f9d49a2723731f2fc77b924 (patch)
tree5558119dce67603a07c04864c7356d5615011bcc /client/src/app/shared/shared-main
parentd681188b7315754035c0ac546090e6900d98c6de (diff)
downloadPeerTube-3ebb2987c2b6338e6f9d49a2723731f2fc77b924.tar.gz
PeerTube-3ebb2987c2b6338e6f9d49a2723731f2fc77b924.tar.zst
PeerTube-3ebb2987c2b6338e6f9d49a2723731f2fc77b924.zip
Fix buttons accessibility using keyboard
Diffstat (limited to 'client/src/app/shared/shared-main')
-rw-r--r--client/src/app/shared/shared-main/buttons/action-dropdown.component.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/shared/shared-main/buttons/action-dropdown.component.html b/client/src/app/shared/shared-main/buttons/action-dropdown.component.html
index 474baafd7..17acb3eab 100644
--- a/client/src/app/shared/shared-main/buttons/action-dropdown.component.html
+++ b/client/src/app/shared/shared-main/buttons/action-dropdown.component.html
@@ -40,7 +40,7 @@
40 40
41 <h6 41 <h6
42 *ngIf="!action.linkBuilder && action.isHeader && areActionsDisplayed(actions, entry)" [ngClass]="{ 'with-icon': !!action.iconName }" 42 *ngIf="!action.linkBuilder && action.isHeader && areActionsDisplayed(actions, entry)" [ngClass]="{ 'with-icon': !!action.iconName }"
43 class="dropdown-header" tabindex="0" role="button" [title]="action.title || ''" (click)="action.handler(entry)" (keyup.enter)="action.handler(entry)" 43 class="dropdown-header" [title]="action.title || ''" (click)="action.handler(entry)" (keyup.enter)="action.handler(entry)"
44 > 44 >
45 <ng-container *ngTemplateOutlet="templateActionLabel; context:{ $implicit: action }"></ng-container> 45 <ng-container *ngTemplateOutlet="templateActionLabel; context:{ $implicit: action }"></ng-container>
46 </h6> 46 </h6>