Merge pull request #295 from nolanlawson/nolan/fix-tabindex

fix: use tabIndex, not tabindex
nolan/hinaloe-test
Nolan Lawson 2019-03-12 08:40:47 -07:00 committed by GitHub
commit af29bd19b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ export default class SkinsDot extends Skins {
onClick={this.handleClick} onClick={this.handleClick}
onKeyDown={this.handleKeyDown} onKeyDown={this.handleKeyDown}
role="button" role="button"
tabindex={visible ? '0' : ''} tabIndex={visible ? '0' : ''}
aria-hidden={!visible} aria-hidden={!visible}
aria-pressed={opened ? !!selected : ''} aria-pressed={opened ? !!selected : ''}
aria-haspopup={!!selected} aria-haspopup={!!selected}