Skip to content
This repository has been archived by the owner on Apr 30, 2023. It is now read-only.

Commit

Permalink
Add label to incrementAmount textbox
Browse files Browse the repository at this point in the history
Just a small accessibility improvement that is consistent with existing form aria-labels
  • Loading branch information
Jinksi committed Feb 18, 2020
1 parent 483b5cc commit 1d341d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions template/src/features/counter/Counter.js
Expand Up @@ -35,6 +35,7 @@ export function Counter() {
<div className={styles.row}>
<input
className={styles.textbox}
aria-label="Set increment amount"
value={incrementAmount}
onChange={e => setIncrementAmount(e.target.value)}
/>
Expand Down

0 comments on commit 1d341d7

Please sign in to comment.