diff options
| author | Mark Otto <[email protected]> | 2013-08-12 09:55:46 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-08-12 09:55:46 -0700 |
| commit | 1f745176d4e667fd75a492509a4e08ca54af07ae (patch) | |
| tree | 4b26f1507d29115131db7494bd4f2427e0339d6e /javascript.html | |
| parent | 657c19f94343e2349eef3e8640baaf7b21562fb3 (diff) | |
| parent | 8dd45053ce70227f9a18531f7a110cc05c41c15e (diff) | |
| download | bootstrap-1f745176d4e667fd75a492509a4e08ca54af07ae.tar.xz bootstrap-1f745176d4e667fd75a492509a4e08ca54af07ae.zip | |
Merge pull request #9384 from BBosman/aria-hidden
Add missing aria-hidden attribs to close buttons
Diffstat (limited to 'javascript.html')
| -rw-r--r-- | javascript.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/javascript.html b/javascript.html index c21842b07..db3053f22 100644 --- a/javascript.html +++ b/javascript.html @@ -1177,14 +1177,14 @@ $('#myPopover').on('hidden.bs.popover', function () { <p>Add dismiss functionality to all alert messages with this plugin.</p> <div class="bs-example"> <div class="alert fade in"> - <button type="button" class="close" data-dismiss="alert">×</button> + <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button> <strong>Holy guacamole!</strong> Best check yo self, you're not looking too good. </div> </div><!-- /example --> <div class="bs-example"> <div class="alert alert-block alert-error fade in"> - <button type="button" class="close" data-dismiss="alert">×</button> + <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button> <h4>Oh snap! You got an error!</h4> <p>Change this and that and try again. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum.</p> <p> @@ -1200,7 +1200,7 @@ $('#myPopover').on('hidden.bs.popover', function () { <h3>Markup</h3> <p>Just add <code>data-dismiss="alert"</code> to your close button to automatically give an alert close functionality.</p> - {% highlight html %}<a class="close" data-dismiss="alert" href="#">×</a>{% endhighlight %} + {% highlight html %}<a class="close" data-dismiss="alert" href="#" aria-hidden="true">×</a>{% endhighlight %} <h3>Methods</h3> |
