diff options
author | Chocobozzz <me@florianbigard.com> | 2023-03-15 14:20:26 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-03-15 14:28:27 +0100 |
commit | dc9c9500bf5f0fd66906576ee3df4f1c49a1871d (patch) | |
tree | 347853ac17beb366bac111e3bc3e3acae31ca267 /client/src/app/app.component.html | |
parent | 5ccf98a4ecc39d1b50df5b748e885683f71276a9 (diff) | |
download | PeerTube-dc9c9500bf5f0fd66906576ee3df4f1c49a1871d.tar.gz PeerTube-dc9c9500bf5f0fd66906576ee3df4f1c49a1871d.tar.zst PeerTube-dc9c9500bf5f0fd66906576ee3df4f1c49a1871d.zip |
Improve accessibility
Diffstat (limited to 'client/src/app/app.component.html')
-rw-r--r-- | client/src/app/app.component.html | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/client/src/app/app.component.html b/client/src/app/app.component.html index 6a833b039..5fefffaf4 100644 --- a/client/src/app/app.component.html +++ b/client/src/app/app.component.html | |||
@@ -6,9 +6,11 @@ | |||
6 | <div class="root-header"> | 6 | <div class="root-header"> |
7 | 7 | ||
8 | <div class="top-left-block"> | 8 | <div class="top-left-block"> |
9 | <span class="icon icon-menu" role="button" [title]="getToggleTitle()" (click)="menu.toggleMenu()"></span> | 9 | <span role="button" tabindex="0" [title]="getToggleTitle()" (click)="menu.toggleMenu()" (keyup.enter)="menu.toggleMenu()"> |
10 | <span class="icon icon-menu"></span> | ||
11 | </span> | ||
10 | 12 | ||
11 | <a class="peertube-title c-hand" (click)="goToDefaultRoute()"> | 13 | <a class="peertube-title c-hand" [routerLink]="getDefaultRoute()"> |
12 | <span class="icon icon-logo"></span> | 14 | <span class="icon icon-logo"></span> |
13 | <span class="instance-name">{{ instanceName }}</span> | 15 | <span class="instance-name">{{ instanceName }}</span> |
14 | </a> | 16 | </a> |
@@ -22,7 +24,7 @@ | |||
22 | <div class="sub-header-container"> | 24 | <div class="sub-header-container"> |
23 | <my-menu *ngIf="menu.isMenuDisplayed"></my-menu> | 25 | <my-menu *ngIf="menu.isMenuDisplayed"></my-menu> |
24 | 26 | ||
25 | <div id="content" tabindex="-1" class="main-col" [ngClass]="{ expanded: menu.isMenuDisplayed === false }"> | 27 | <div id="content" class="main-col" [ngClass]="{ expanded: menu.isMenuDisplayed === false }"> |
26 | 28 | ||
27 | <div class="main-row"> | 29 | <div class="main-row"> |
28 | 30 | ||