|
@@ -38,15 +38,15 @@ class Tabs extends Component {
|
|
|
<button type="button"
|
|
|
class="uppy-DashboardTab-btn"
|
|
|
role="tab"
|
|
|
- tabindex="0"
|
|
|
+ tabindex={0}
|
|
|
onclick={this.handleClick}>
|
|
|
{localIcon()}
|
|
|
<div class="uppy-DashboardTab-name">{this.props.i18n('myDevice')}</div>
|
|
|
</button>
|
|
|
<input class="uppy-Dashboard-input"
|
|
|
- hidden="true"
|
|
|
+ hidden
|
|
|
aria-hidden="true"
|
|
|
- tabindex="-1"
|
|
|
+ tabindex={-1}
|
|
|
type="file"
|
|
|
name="files[]"
|
|
|
multiple={this.props.maxNumberOfFiles !== 1}
|
|
@@ -60,7 +60,7 @@ class Tabs extends Component {
|
|
|
<button class="uppy-DashboardTab-btn"
|
|
|
type="button"
|
|
|
role="tab"
|
|
|
- tabindex="0"
|
|
|
+ tabindex={0}
|
|
|
aria-controls={`uppy-DashboardContent-panel--${target.id}`}
|
|
|
aria-selected={this.props.activePanel.id === target.id}
|
|
|
onclick={() => this.props.showPanel(target.id)}>
|