Skip to content

Commit 521f9fc

Browse files
borntofrappeapollonian
authored andcommitted
add aria-label to input element
1 parent feda8d8 commit 521f9fc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib/index.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ class SingleOtpInput extends PureComponent<*> {
9595
style={{ display: 'flex', alignItems: 'center' }}
9696
>
9797
<input
98+
aria-label={`Verification code ${isInputNum ? 'digit' : 'character'}`}
9899
autoComplete="off"
99100
style={Object.assign(
100101
{ width: '1em', textAlign: 'center' },

0 commit comments

Comments
 (0)