We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Closable Alerts
1 parent 1f29000 commit 533530aCopy full SHA for 533530a
docs/src/ComponentsPage.js
@@ -623,6 +623,11 @@ const ComponentsPage = React.createClass({
623
<p>just pass in a <code>onDismiss</code> function.</p>
624
<ReactPlayground codeText={Samples.AlertDismissable} />
625
626
+ <div className="bs-callout bs-callout-info">
627
+ <h4>Screen Reader Accessibility</h4>
628
+ <p>Unlike regular Bootstrap, alerts have an sr-only dismiss button after the content.</p>
629
+ </div>
630
+
631
<h4><Anchor id="alerts-auto-closeable">Auto closeable</Anchor></h4>
632
<p>Auto close after a set time with <code>dismissAfter</code> prop.</p>
633
<ReactPlayground codeText={Samples.AlertAutoDismissable} />
0 commit comments