Ensure tabIndex is number instead of string (#24409)
This commit is contained in:
parent
a425915ce7
commit
ec0c104bf2
32 changed files with 55 additions and 55 deletions
|
@ -67,7 +67,7 @@ class Section extends React.PureComponent {
|
|||
|
||||
return (
|
||||
<div className={classNames('about__section', { active: !collapsed })}>
|
||||
<div className='about__section__title' role='button' tabIndex='0' onClick={this.handleClick}>
|
||||
<div className='about__section__title' role='button' tabIndex={0} onClick={this.handleClick}>
|
||||
<Icon id={collapsed ? 'chevron-right' : 'chevron-down'} fixedWidth /> {title}
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue