Skip to content

Commit 8628486

Browse files
authored
Merge pull request #428 from adityaj07/Issue#426
Added aria-label attribute to the Search button element. Fixes issue#426
2 parents a425e88 + 9325a2d commit 8628486

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/components/SearchBar.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,10 @@ const SearchBar = ({ className }) => {
4343
id: focused ? 'searchWithGoogle' : 'search'
4444
})}
4545
/>
46-
<button className={css.submit} onClick={search}>
46+
<button
47+
className={css.submit}
48+
onClick={search}
49+
aria-label={`Submit search`}>
4750
<SearchIcon height={30} width={30} />
4851
</button>
4952
</div>

0 commit comments

Comments
 (0)