diff options
| author | Dirk Ginader <[email protected]> | 2012-08-01 20:11:16 -0700 |
|---|---|---|
| committer | Dirk Ginader <[email protected]> | 2012-08-01 20:11:16 -0700 |
| commit | 6977d35eedd8a0b25b7b18eae67c3299eb18badd (patch) | |
| tree | 8d00a3332a800c4e747a46fd313183b5e198963d /docs/javascript.html | |
| parent | c2e899f2a014e18f9cf981ea89a20e18a5c9fefb (diff) | |
| download | bootstrap-6977d35eedd8a0b25b7b18eae67c3299eb18badd.tar.xz bootstrap-6977d35eedd8a0b25b7b18eae67c3299eb18badd.zip | |
close #3531 added focus handling and removed the badly announced "times" close button from screenreaders
Diffstat (limited to 'docs/javascript.html')
| -rw-r--r-- | docs/javascript.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/javascript.html b/docs/javascript.html index d0332ece9..cb86d49f3 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -214,9 +214,9 @@ $('#myModal').on('show', function (e) { <h3>Live demo</h3> <p>Toggle a modal via javascript by clicking the button below. It will slide down and fade in from the top of the page.</p> <!-- sample modal content --> - <div id="myModal" class="modal hide" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"> + <div id="myModal" class="modal hide" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-header"> - <button type="button" class="close" data-dismiss="modal">×</button> + <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> <h3 id="myModalLabel">Modal Heading</h3> </div> <div class="modal-body"> @@ -241,8 +241,8 @@ $('#myModal').on('show', function (e) { <p>Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla.</p> </div> <div class="modal-footer"> - <a href="#" role="button" class="btn" data-dismiss="modal" >Close</a> - <a href="#" role="button" class="btn btn-primary">Save changes</a> + <button class="btn" data-dismiss="modal" >Close</button> + <button class="btn btn-primary">Save changes</button> </div> </div> <div class="bs-docs-example" style="padding-bottom: 24px;"> @@ -253,7 +253,7 @@ $('#myModal').on('show', function (e) { <a href="#myModal" role="button" class="btn" data-toggle="modal">Launch demo modal</a> <-- Modal --> -<div class="modal" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"> +<div class="modal" id="myModal" tabindex="-1" role="dialog> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal">×</button> <h3 id="myModalLabel">Modal header</h3> @@ -262,8 +262,8 @@ $('#myModal').on('show', function (e) { <p>One fine body…</p> </div> <div class="modal-footer"> - <a href="#" role="button" class="btn">Close</a> - <a href="#" role="button" class="btn btn-primary">Save changes</a> + <button class="btn" data-dismiss="modal">Close</button> + <button class="btn btn-primary">Save changes</button> </div> </div> </pre> |
