0
0
Fork 0

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
32 changed files with 55 additions and 55 deletions

View file

@ -287,7 +287,7 @@ class Search extends React.PureComponent {
onBlur={this.handleBlur}
/>
<div role='button' tabIndex='0' className='search__icon' onClick={this.handleClear}>
<div role='button' tabIndex={0} className='search__icon' onClick={this.handleClear}>
<Icon id='search' className={hasValue ? '' : 'active'} />
<Icon id='times-circle' className={hasValue ? 'active' : ''} aria-label={intl.formatMessage(messages.placeholder)} />
</div>