aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes/css/helpers.html
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2014-05-04 00:33:58 -0700
committerChris Rebert <[email protected]>2014-05-04 00:33:58 -0700
commitce2cad6366d167c1fa17869478053dd490a94bd1 (patch)
tree6d5f5506506e1db0e00912901e8aa271cbba6e7e /docs/_includes/css/helpers.html
parent3bc95979a9318258e027830b35c840704eb1e3be (diff)
parent949b81f51171550bcec0d92e771793999e69a389 (diff)
downloadbootstrap-ce2cad6366d167c1fa17869478053dd490a94bd1.tar.xz
bootstrap-ce2cad6366d167c1fa17869478053dd490a94bd1.zip
Merge pull request #13493 from twbs/close-btn-access
Improve accessibility of close buttons in modals & alerts
Diffstat (limited to 'docs/_includes/css/helpers.html')
-rw-r--r--docs/_includes/css/helpers.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/_includes/css/helpers.html b/docs/_includes/css/helpers.html
index a76704673..043dad9ff 100644
--- a/docs/_includes/css/helpers.html
+++ b/docs/_includes/css/helpers.html
@@ -48,10 +48,10 @@
<h3 id="helper-classes-close">Close icon</h3>
<p>Use the generic close icon for dismissing content like modals and alerts.</p>
<div class="bs-example">
- <p><button type="button" class="close" aria-hidden="true">&times;</button></p>
+ <p><button type="button" class="close"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button></p>
</div>
{% highlight html %}
-<button type="button" class="close" aria-hidden="true">&times;</button>
+<button type="button" class="close"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
{% endhighlight %}