mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-14 02:24:00 +01:00
Docs: Add missing tabindex="-1"
& role="dialog"
to some .modal
s
Refs https://github.com/twbs/bootlint/pull/314 [skip sauce]
This commit is contained in:
parent
ce58026933
commit
94b4076dd2
@ -27,7 +27,7 @@ $('#myModal').on('shown.bs.modal', function () {
|
|||||||
<h3>Static example</h3>
|
<h3>Static example</h3>
|
||||||
<p>A rendered modal with header, body, and set of actions in the footer.</p>
|
<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="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-dialog">
|
||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
@ -46,7 +46,7 @@ $('#myModal').on('shown.bs.modal', function () {
|
|||||||
</div><!-- /.modal -->
|
</div><!-- /.modal -->
|
||||||
</div><!-- /example -->
|
</div><!-- /example -->
|
||||||
{% highlight html %}
|
{% highlight html %}
|
||||||
<div class="modal fade">
|
<div class="modal fade" tabindex="-1" role="dialog">
|
||||||
<div class="modal-dialog">
|
<div class="modal-dialog">
|
||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
@ -267,7 +267,7 @@ $('#myModal').on('shown.bs.modal', function () {
|
|||||||
</button>
|
</button>
|
||||||
</div><!-- /example -->
|
</div><!-- /example -->
|
||||||
{% highlight html %}
|
{% 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-dialog" role="document">
|
||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
|
Loading…
Reference in New Issue
Block a user