aboutsummaryrefslogtreecommitdiff
path: root/docs/javascript.html
diff options
context:
space:
mode:
authorJacob Thornton <[email protected]>2012-05-16 19:43:22 -0700
committerJacob Thornton <[email protected]>2012-05-16 19:43:22 -0700
commit10c6db4b14e5eb26bd663996233e3ac3075d5cb4 (patch)
treee710c7ec5dbf1a014a0f923842ec84e949b8cde9 /docs/javascript.html
parent4b53778150c37bf9b45798b3c54330b2403ac915 (diff)
downloadbootstrap-10c6db4b14e5eb26bd663996233e3ac3075d5cb4.tar.xz
bootstrap-10c6db4b14e5eb26bd663996233e3ac3075d5cb4.zip
add proper role to dialog markup and cleanup modal logging
Diffstat (limited to 'docs/javascript.html')
-rw-r--r--docs/javascript.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/javascript.html b/docs/javascript.html
index 07e95f284..923df9e01 100644
--- a/docs/javascript.html
+++ b/docs/javascript.html
@@ -201,10 +201,10 @@
<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 fade" tabindex=0>
+ <div id="myModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModal-label">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">&times;</button>
- <h3>Modal Heading</h3>
+ <h3 id="myModal-label">Modal Heading</h3>
</div>
<div class="modal-body">
<h4>Text in a modal</h4>