Ensure tabIndex is number instead of string (#24409)

This commit is contained in:
Nick Schonning authored and GitHub committed 2023-04-04 16:33:44 +02:00
1 parent a425915ce7
commit ec0c104bf2
32 files changed
+55 -55

No files matched your search

@@ -82,7 +82,7 @@ class OptionIntl extends React.PureComponent {
onClick={this.handleToggleMultiple}
onKeyPress={this.handleCheckboxKeypress}
role='button'
tabIndex='0'
tabIndex={0}
title={intl.formatMessage(isPollMultiple ? messages.switchToSingle : messages.switchToMultiple)}
aria-label={intl.formatMessage(isPollMultiple ? messages.switchToSingle : messages.switchToMultiple)}
/>