diff options
| author | Chris Rebert <[email protected]> | 2014-05-04 00:33:58 -0700 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2014-05-04 00:33:58 -0700 |
| commit | ce2cad6366d167c1fa17869478053dd490a94bd1 (patch) | |
| tree | 6d5f5506506e1db0e00912901e8aa271cbba6e7e /docs/_includes/css/helpers.html | |
| parent | 3bc95979a9318258e027830b35c840704eb1e3be (diff) | |
| parent | 949b81f51171550bcec0d92e771793999e69a389 (diff) | |
| download | bootstrap-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.html | 4 |
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">×</button></p> + <p><button type="button" class="close"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button></p> </div> {% highlight html %} -<button type="button" class="close" aria-hidden="true">×</button> +<button type="button" class="close"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button> {% endhighlight %} |
