Skip to content

Commit

Permalink
Use an aria label for the search input
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocobozzz committed Sep 26, 2024
1 parent bc2a055 commit faa547e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/src/app/header/search-typeahead.component.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<div class="d-inline-flex position-relative" id="typeahead-container">
<input
type="search" id="search-video" name="search-video" #searchVideo i18n-placeholder placeholder="Search videos, playlists, channels…"
type="search" id="search-video" name="search-video" #searchVideo
i18n-ariaLabel aria-label="Search videos, playlists, channels…" i18n-placeholder placeholder="Search videos, playlists, channels…"
[(ngModel)]="search" (ngModelChange)="onSearchChange()" (keydown)="handleKey($event)"
autocomplete="off" aria-describedby="typeahead-input-help"
>
Expand Down

0 comments on commit faa547e

Please sign in to comment.