Skip to content

Commit c82e5cc

Browse files
committed
adds aria-labels to form elements
1 parent a82e4bd commit c82e5cc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/App.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -209,11 +209,13 @@ const App = () => {
209209
<SearchBarWrapper>
210210
<SearchBar
211211
type="text"
212+
aria-label="Pokémon name or number"
212213
placeholder="Enter a Poké name or #."
213214
value={search}
214215
onChange={handleChange}
215216
/>
216-
<SearchButton
217+
<SearchButton
218+
aria-label="Search"
217219
value="🔎"
218220
onClick={handleSubmit}
219221
>

0 commit comments

Comments
 (0)