diff options
| author | Patrick H. Lauke <[email protected]> | 2014-12-07 14:29:03 +0000 |
|---|---|---|
| committer | Patrick H. Lauke <[email protected]> | 2014-12-07 14:29:03 +0000 |
| commit | c609272ac199cc9806ad6c4cf8c7f8f4253fb347 (patch) | |
| tree | 70827a974f5d7f7d3615a1b460376ee745e8c9b3 /docs/_includes/components | |
| parent | 08f388679b7e77104d3129733feffb956b10dcf0 (diff) | |
| download | bootstrap-c609272ac199cc9806ad6c4cf8c7f8f4253fb347.tar.xz bootstrap-c609272ac199cc9806ad6c4cf8c7f8f4253fb347.zip | |
``aria-label="close"`` instead of sr-only ``span``
shorter, neater, well supported
Diffstat (limited to 'docs/_includes/components')
| -rw-r--r-- | docs/_includes/components/alerts.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/_includes/components/alerts.html b/docs/_includes/components/alerts.html index 717308354..7487a968a 100644 --- a/docs/_includes/components/alerts.html +++ b/docs/_includes/components/alerts.html @@ -40,13 +40,13 @@ </div> <div class="bs-example" data-example-id="dismissible-alert-css"> <div class="alert alert-warning alert-dismissible" role="alert"> - <button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button> + <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button> <strong>Warning!</strong> Better check yourself, you're not looking too good. </div> </div> {% highlight html %} <div class="alert alert-warning alert-dismissible" role="alert"> - <button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button> + <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button> <strong>Warning!</strong> Better check yourself, you're not looking too good. </div> {% endhighlight %} |
