Skip to content

Commit 653bb17

Browse files
committedDec 7, 2015
[fixed] a11y: setting tabIndex="-1" for the dismiss button of Alerts since aria-hidden="true"
1 parent 8b31d46 commit 653bb17

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

Diff for: ‎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)
Please sign in to comment.