diff options
author | Chocobozzz <me@florianbigard.com> | 2020-12-22 12:05:32 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-12-22 12:05:32 +0100 |
commit | 1916c9663ac632227e60ebc93cec616b2dd6800d (patch) | |
tree | 606b753ed93aeec5d4232925c55642bd8d43c000 /client/src/app/header | |
parent | 2b6c55528d252be180a9b206b9de01c44e67b24f (diff) | |
download | PeerTube-1916c9663ac632227e60ebc93cec616b2dd6800d.tar.gz PeerTube-1916c9663ac632227e60ebc93cec616b2dd6800d.tar.zst PeerTube-1916c9663ac632227e60ebc93cec616b2dd6800d.zip |
Fix some accessibility issues
Diffstat (limited to 'client/src/app/header')
-rw-r--r-- | client/src/app/header/search-typeahead.component.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/client/src/app/header/search-typeahead.component.html b/client/src/app/header/search-typeahead.component.html index 548da59bb..03e86b8e6 100644 --- a/client/src/app/header/search-typeahead.component.html +++ b/client/src/app/header/search-typeahead.component.html | |||
@@ -4,7 +4,10 @@ | |||
4 | [(ngModel)]="search" (ngModelChange)="onSearchChange()" (keydown)="handleKey($event)" (keydown.enter)="doSearch()" | 4 | [(ngModel)]="search" (ngModelChange)="onSearchChange()" (keydown)="handleKey($event)" (keydown.enter)="doSearch()" |
5 | aria-label="Search" autocomplete="off" | 5 | aria-label="Search" autocomplete="off" |
6 | > | 6 | > |
7 | <my-global-icon iconName="search" class="icon icon-search" role="button" (click)="doSearch()" (keydown.enter)="doSearch()"></my-global-icon> | 7 | <my-global-icon |
8 | title="Search" i18n-title role="button" | ||
9 | iconName="search" class="icon icon-search" (click)="doSearch()" (keydown.enter)="doSearch()" | ||
10 | ></my-global-icon> | ||
8 | 11 | ||
9 | <div class="position-absolute jump-to-suggestions"> | 12 | <div class="position-absolute jump-to-suggestions"> |
10 | 13 | ||