diff options
| author | Patrick H. Lauke <[email protected]> | 2015-10-16 00:56:59 +0100 |
|---|---|---|
| committer | Patrick H. Lauke <[email protected]> | 2015-10-16 00:56:59 +0100 |
| commit | 9302fd4fd4a05a44de991416fea4b01443343595 (patch) | |
| tree | 3fbb458c45a9bbb673f882b448dbc841a3568832 /docs/components/alerts.md | |
| parent | 724bf862885f57383f3a19ed46a6deab0f2322a6 (diff) | |
| download | bootstrap-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.md | 2 |
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">×</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">×</span> - <span class="sr-only">Close</span> </button> {% endhighlight %} |
