Skip to content

Commit 9babe73

Browse files
committed
Merge pull request react-bootstrap#1545 from carlyle/a11y-fix-alert-close
a11y: fixing the tab-index for the non-screenreader version of the Alert dismiss button
2 parents 8b31d46 + 653bb17 commit 9babe73

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Alert.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ let Alert = React.createClass({
2323
type="button"
2424
className="close"
2525
onClick={this.props.onDismiss}
26-
aria-hidden="true">
26+
aria-hidden="true"
27+
tabIndex="-1">
2728
<span>&times;</span>
2829
</button>
2930
);

0 commit comments

Comments
 (0)