Skip to content

Commit 9325a2d

Browse files
committed
Issue#426 Added aria-label attribute to the button element
1 parent a425e88 commit 9325a2d

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)