Ensure tabIndex is number instead of string (#24409)

This commit is contained in:
Nick Schonning
2023-04-04 10:33:44 -04:00
committed by GitHub
parent a425915ce7
commit ec0c104bf2
32 changed files with 55 additions and 55 deletions

View File

@ -630,7 +630,7 @@ class Status extends ImmutablePureComponent {
{ancestors}
<HotKeys handlers={handlers}>
<div className={classNames('focusable', 'detailed-status__wrapper', `detailed-status__wrapper-${status.get('visibility')}`)} tabIndex='0' aria-label={textForScreenReader(intl, status, false)}>
<div className={classNames('focusable', 'detailed-status__wrapper', `detailed-status__wrapper-${status.get('visibility')}`)} tabIndex={0} aria-label={textForScreenReader(intl, status, false)}>
<DetailedStatus
key={`details-${status.get('id')}`}
status={status}