Skip to content

Commit

Permalink
Merge pull request react-bootstrap#1545 from carlyle/a11y-fix-alert-c…
Browse files Browse the repository at this point in the history
…lose

a11y: fixing the tab-index for the non-screenreader version of the Alert dismiss button
  • Loading branch information
jquense committed Dec 7, 2015
2 parents 8b31d46 + 653bb17 commit 9babe73
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 9babe73

Please sign in to comment.