diff --git a/docs/_includes/js/modal.html b/docs/_includes/js/modal.html index 0c2f64f862..bdecb1eff6 100644 --- a/docs/_includes/js/modal.html +++ b/docs/_includes/js/modal.html @@ -141,7 +141,7 @@ $('#myModal').on('shown.bs.modal', function () {

Make modals accessible

-

Be sure to add role="dialog" to .modal, aria-labelledby="myModalLabel" attribute to reference the modal title.

+

Be sure to add role="dialog" and aria-labelledby="...", referencing the modal title, to .modal, and role="document" to the .modal-dialog itself.

Additionally, you may give a description of your modal dialog with aria-describedby on .modal.