diff options
| author | Chris Rebert <[email protected]> | 2015-11-15 22:07:39 -0800 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2015-11-15 22:08:42 -0800 |
| commit | 94b4076dd2efba9af71f0b18d4ee4b163aa9e0dd (patch) | |
| tree | d66ec081ca4cc7a864d8f1461dd73c91392ac2a8 /docs/_includes | |
| parent | ce58026933277d10aad49ddd017976d3a3fed026 (diff) | |
| download | bootstrap-94b4076dd2efba9af71f0b18d4ee4b163aa9e0dd.tar.xz bootstrap-94b4076dd2efba9af71f0b18d4ee4b163aa9e0dd.zip | |
Docs: Add missing `tabindex="-1"` & `role="dialog"` to some `.modal`s
Refs https://github.com/twbs/bootlint/pull/314
[skip sauce]
Diffstat (limited to 'docs/_includes')
| -rw-r--r-- | docs/_includes/js/modal.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/_includes/js/modal.html b/docs/_includes/js/modal.html index 9798d85bb..bea45b4cf 100644 --- a/docs/_includes/js/modal.html +++ b/docs/_includes/js/modal.html @@ -27,7 +27,7 @@ $('#myModal').on('shown.bs.modal', function () { <h3>Static example</h3> <p>A rendered modal with header, body, and set of actions in the footer.</p> <div class="bs-example bs-example-modal" data-example-id="static-modal"> - <div class="modal"> + <div class="modal" tabindex="-1" role="dialog"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> @@ -46,7 +46,7 @@ $('#myModal').on('shown.bs.modal', function () { </div><!-- /.modal --> </div><!-- /example --> {% highlight html %} -<div class="modal fade"> +<div class="modal fade" tabindex="-1" role="dialog"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> @@ -267,7 +267,7 @@ $('#myModal').on('shown.bs.modal', function () { </button> </div><!-- /example --> {% highlight html %} -<div class="modal fade" role="dialog" aria-labelledby="gridSystemModalLabel"> +<div class="modal fade" tabindex="-1" role="dialog" aria-labelledby="gridSystemModalLabel"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> |
