fix tabIndex for the settings closed caption submenu

This commit is contained in:
KDSBrowne 2017-05-01 12:46:21 -07:00
parent eef9fd782a
commit 80d4feedcc

View File

@ -280,7 +280,7 @@ class ClosedCaptionsMenu extends BaseMenu {
className={cx(styles.formElement, styles.pullContentRight)} className={cx(styles.formElement, styles.pullContentRight)}
aria-label={intl.formatMessage(intlMessages.backgroundColorLabel)}> aria-label={intl.formatMessage(intlMessages.backgroundColorLabel)}>
<div <div
tabIndex='12' tabIndex='0'
className={ styles.swatch } className={ styles.swatch }
onClick={ this.handleColorPickerClick.bind(this, 'displayBackgroundColorPicker') }> onClick={ this.handleColorPickerClick.bind(this, 'displayBackgroundColorPicker') }>
<div <div
@ -320,7 +320,7 @@ class ClosedCaptionsMenu extends BaseMenu {
className={cx(styles.formElement, styles.pullContentRight)} className={cx(styles.formElement, styles.pullContentRight)}
aria-label={intl.formatMessage(intlMessages.fontColorLabel)}> aria-label={intl.formatMessage(intlMessages.fontColorLabel)}>
<div <div
tabIndex='12' tabIndex='0'
className={ styles.swatch } className={ styles.swatch }
onClick={ this.handleColorPickerClick.bind(this, 'displayFontColorPicker') }> onClick={ this.handleColorPickerClick.bind(this, 'displayFontColorPicker') }>
<div <div