aboutsummaryrefslogtreecommitdiff
path: root/docs/components/alerts.md
diff options
context:
space:
mode:
authorPatrick H. Lauke <[email protected]>2015-10-16 00:56:59 +0100
committerPatrick H. Lauke <[email protected]>2015-10-16 00:56:59 +0100
commit9302fd4fd4a05a44de991416fea4b01443343595 (patch)
tree3fbb458c45a9bbb673f882b448dbc841a3568832 /docs/components/alerts.md
parent724bf862885f57383f3a19ed46a6deab0f2322a6 (diff)
downloadbootstrap-9302fd4fd4a05a44de991416fea4b01443343595.tar.xz
bootstrap-9302fd4fd4a05a44de991416fea4b01443343595.zip
Remove redundant `.sr-only` text for Close buttons
Since `aria-label` is used, it's not necessary anymore.
Diffstat (limited to 'docs/components/alerts.md')
-rw-r--r--docs/components/alerts.md2
1 files changed, 0 insertions, 2 deletions
diff --git a/docs/components/alerts.md b/docs/components/alerts.md
index fd01bdd52..e27109768 100644
--- a/docs/components/alerts.md
+++ b/docs/components/alerts.md
@@ -64,7 +64,6 @@ You can see this in action with a live demo:
<div class="alert alert-warning alert-dismissible fade in" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">&times;</span>
- <span class="sr-only">Close</span>
</button>
<strong>Holy guacamole!</strong> You should check in on some of those fields below.
</div>
@@ -85,7 +84,6 @@ Or with `data` attributes on a button **within the alert**, as demonstrated abov
{% highlight html %}
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">&times;</span>
- <span class="sr-only">Close</span>
</button>
{% endhighlight %}