diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2018-09-08 14:34:32 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-09-11 10:58:48 +0200 |
commit | e78980ebd116be1ea901387c126876af902191e6 (patch) | |
tree | ea037d021e1383501e2b79add1a9581ef80a7c99 /client/src/app/menu/menu.component.html | |
parent | ecf06378ff95ec35f75de0169a02a974d2c17c62 (diff) | |
download | PeerTube-e78980ebd116be1ea901387c126876af902191e6.tar.gz PeerTube-e78980ebd116be1ea901387c126876af902191e6.tar.zst PeerTube-e78980ebd116be1ea901387c126876af902191e6.zip |
use focus-visible polyfill to improve keyboard navigation
Only the homepage is concerned, but it should have decent keyboard
navigation support now.
Diffstat (limited to 'client/src/app/menu/menu.component.html')
-rw-r--r-- | client/src/app/menu/menu.component.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/menu/menu.component.html b/client/src/app/menu/menu.component.html index 63ff4a86f..139664534 100644 --- a/client/src/app/menu/menu.component.html +++ b/client/src/app/menu/menu.component.html | |||
@@ -85,10 +85,10 @@ | |||
85 | 85 | ||
86 | <div class="footer d-flex justify-content-between"> | 86 | <div class="footer d-flex justify-content-between"> |
87 | <span class="language"> | 87 | <span class="language"> |
88 | <span (click)="openLanguageChooser()" i18n-title title="Change the language" class="icon icon-language"></span> | 88 | <span tabindex="0" (keyup.enter)="openLanguageChooser()" (click)="openLanguageChooser()" i18n-title title="Change the language" class="icon icon-language"></span> |
89 | </span> | 89 | </span> |
90 | <span class="color-palette"> | 90 | <span class="color-palette"> |
91 | <span (click)="toggleDarkTheme()" i18n-title title="Toggle dark interface" class="icon icon-moonsun"></span> | 91 | <span tabindex="0" (keyup.enter)="toggleDarkTheme()" (click)="toggleDarkTheme()" i18n-title title="Toggle dark interface" class="icon icon-moonsun"></span> |
92 | </span> | 92 | </span> |
93 | </div> | 93 | </div> |
94 | </menu> | 94 | </menu> |