Ensure tabIndex is number instead of string (#24409)
This commit is contained in:
@ -154,7 +154,7 @@ class Poll extends ImmutablePureComponent {
|
||||
{!showResults && (
|
||||
<span
|
||||
className={classNames('poll__input', { checkbox: poll.get('multiple'), active })}
|
||||
tabIndex='0'
|
||||
tabIndex={0}
|
||||
role={poll.get('multiple') ? 'checkbox' : 'radio'}
|
||||
onKeyPress={this.handleOptionKeyPress}
|
||||
aria-checked={active}
|
||||
|
Reference in New Issue
Block a user