Skip to content

Commit

Permalink
[fixed] a11y: setting tabIndex="-1" for the dismiss button of Alerts …
Browse files Browse the repository at this point in the history
…since aria-hidden="true"
  • Loading branch information
carlyle committed Dec 7, 2015
1 parent 8b31d46 commit 653bb17
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Alert.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ let Alert = React.createClass({
type="button"
className="close"
onClick={this.props.onDismiss}
aria-hidden="true">
aria-hidden="true"
tabIndex="-1">
<span>&times;</span>
</button>
);
Expand Down

0 comments on commit 653bb17

Please sign in to comment.