Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 533530a

Browse files
d-reinholdKenny Wang
authored andcommittedSep 1, 2015
[added] Adds a callout to the sr-only button in Closable Alerts
Signed-off-by: Kenny Wang <kwang@pivotal.io>
1 parent 1f29000 commit 533530a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
 

‎docs/src/ComponentsPage.js‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -623,6 +623,11 @@ const ComponentsPage = React.createClass({
623623
<p>just pass in a <code>onDismiss</code> function.</p>
624624
<ReactPlayground codeText={Samples.AlertDismissable} />
625625

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+
626631
<h4><Anchor id="alerts-auto-closeable">Auto closeable</Anchor></h4>
627632
<p>Auto close after a set time with <code>dismissAfter</code> prop.</p>
628633
<ReactPlayground codeText={Samples.AlertAutoDismissable} />

0 commit comments

Comments
 (0)
Please sign in to comment.