Skip to content

Commit

Permalink
fix(Button) Disable tab stop for the disabled labeled button (Semanti…
Browse files Browse the repository at this point in the history
  • Loading branch information
luski committed Feb 2, 2017
1 parent 418c9bf commit 611bee7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/elements/Button/Button.js
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ class Button extends Component {
return (
<ElementType {...rest} className={containerClasses} onClick={this.handleClick}>
{labelPosition === 'left' && labelElement}
<button className={classes}>
<button className={classes} tabIndex={tabIndex}>
{Icon.create(icon)} {content}
</button>
{(labelPosition === 'right' || !labelPosition) && labelElement}
Expand Down

0 comments on commit 611bee7

Please sign in to comment.