Skip to content

Commit

Permalink
Merge pull request #2 from AdmitHub/add-clear-search-label
Browse files Browse the repository at this point in the history
add aria label to clear search button
  • Loading branch information
neckenth authored Jan 9, 2023
2 parents becba20 + 44a4256 commit a12ab17
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/header/Search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ export function Search() {
<div className="epr-icn-search" />
<Button
className={clsx('epr-btn-clear-search', 'epr-visible-on-search-only')}
aria-label={'Clear search'}
onClick={clearSearch}
>
<div className="epr-icn-clear-search" />
Expand Down

0 comments on commit a12ab17

Please sign in to comment.