diff --git a/docs/_includes/js/modal.html b/docs/_includes/js/modal.html index 1f68161361..92adb3af56 100644 --- a/docs/_includes/js/modal.html +++ b/docs/_includes/js/modal.html @@ -68,7 +68,7 @@ $('#myModal').on('shown.bs.modal', function () {
Toggle a modal via JavaScript by clicking the button below. It will slide down and fade in from the top of the page.
-Be sure to add role="dialog"
to .modal
, aria-labelledby="myModalLabel"
attribute to reference the modal title, and aria-hidden="true"
to tell assistive technologies to skip the modal's DOM elements.
Be sure to add role="dialog"
to .modal
, aria-labelledby="myModalLabel"
attribute to reference the modal title.
Additionally, you may give a description of your modal dialog with aria-describedby
on .modal
.
For modals that simply appear rather than fade in to view, remove the .fade
class from your modal markup.
To take advantage of the Bootstrap grid system within a modal, just nest .container-fluid
within the .modal-body
and then use the normal grid system classes within this container.