From 653bb1786f869ff5e268b8c470e5e4a59a0ffa52 Mon Sep 17 00:00:00 2001 From: Carl Licata Date: Fri, 4 Dec 2015 15:11:24 -0500 Subject: [PATCH] [fixed] a11y: setting tabIndex="-1" for the dismiss button of Alerts since aria-hidden="true" --- src/Alert.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Alert.js b/src/Alert.js index 9a58cc313a..51dc5a4def 100644 --- a/src/Alert.js +++ b/src/Alert.js @@ -23,7 +23,8 @@ let Alert = React.createClass({ type="button" className="close" onClick={this.props.onDismiss} - aria-hidden="true"> + aria-hidden="true" + tabIndex="-1"> × );