<p>Be sure to add <code>role="dialog"</code> to <code>.modal</code>, <code>aria-labelledby="myModalLabel"</code> attribute to reference the modal title, and <code>aria-hidden="true"</code> to tell assistive technologies to skip the modal's DOM elements.</p>
<p>Be sure to add <code>role="dialog"</code> to <code>.modal</code>, <code>aria-labelledby="myModalLabel"</code> attribute to reference the modal title.</p>
<p>Additionally, you may give a description of your modal dialog with <code>aria-describedby</code> on <code>.modal</code>.</p>
<p>Additionally, you may give a description of your modal dialog with <code>aria-describedby</code> on <code>.modal</code>.</p>
</div>
</div>
...
@@ -160,7 +160,7 @@ $('#myModal').on('shown.bs.modal', function () {
...
@@ -160,7 +160,7 @@ $('#myModal').on('shown.bs.modal', function () {
@@ -221,7 +221,7 @@ $('#myModal').on('shown.bs.modal', function () {
...
@@ -221,7 +221,7 @@ $('#myModal').on('shown.bs.modal', function () {
<h2id="modals-grid-system">Using the grid system</h2>
<h2id="modals-grid-system">Using the grid system</h2>
<p>To take advantage of the Bootstrap grid system within a modal, just nest <code>.container-fluid</code> within the <code>.modal-body</code> and then use the normal grid system classes within this container.</p>
<p>To take advantage of the Bootstrap grid system within a modal, just nest <code>.container-fluid</code> within the <code>.modal-body</code> and then use the normal grid system classes within this container.</p>
@@ -322,7 +322,7 @@ $('#myModal').on('shown.bs.modal', function () {
...
@@ -322,7 +322,7 @@ $('#myModal').on('shown.bs.modal', function () {
<buttontype="button"class="btn btn-primary"data-toggle="modal"data-target="#exampleModal"data-whatever="@getbootstrap">Open modal for @getbootstrap</button>
<buttontype="button"class="btn btn-primary"data-toggle="modal"data-target="#exampleModal"data-whatever="@getbootstrap">Open modal for @getbootstrap</button>
@@ -355,7 +355,7 @@ $('#myModal').on('shown.bs.modal', function () {
...
@@ -355,7 +355,7 @@ $('#myModal').on('shown.bs.modal', function () {
<buttontype="button"class="btn btn-primary"data-toggle="modal"data-target="#exampleModal"data-whatever="@getbootstrap">Open modal for @getbootstrap</button>
<buttontype="button"class="btn btn-primary"data-toggle="modal"data-target="#exampleModal"data-whatever="@getbootstrap">Open modal for @getbootstrap</button>