0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-13 01:08:58 +01:00

Docs: Add missing tabindex="-1" & role="dialog" to some .modals

Refs https://github.com/twbs/bootlint/pull/314
[skip sauce]
This commit is contained in:
Chris Rebert 2015-11-15 22:07:39 -08:00
parent ce58026933
commit 94b4076dd2

View File

@ -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">