Skip to content

Commit

Permalink
Removed alt text and set it as empty. The button icon is for decorative
Browse files Browse the repository at this point in the history
purposes, and therefore the aria-label should be enough.
  • Loading branch information
Dresse committed Aug 8, 2024
1 parent 838f42b commit ea17bd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/search-bar/search-bar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ const SearchBar: React.FC<SearchBarProps> = ({
aria-expanded={isHeaderDropdownOpen}
aria-controls="search-header-dropdown"
>
<img src={expandIcon} alt={t("searchHeaderDropdownText")} />
<img src={expandIcon} alt="" />
</button>
</>
);
Expand Down

0 comments on commit ea17bd8

Please sign in to comment.