From ea407666ce3c5d708b4a830fb2d00bdcb0d2d53e Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Tue, 11 Nov 2014 20:23:49 -0800 Subject: give all docs callouts IDs [skip sauce] --- docs/_includes/js/modal.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/_includes/js/modal.html') diff --git a/docs/_includes/js/modal.html b/docs/_includes/js/modal.html index 4c0d46e9b..993b72103 100644 --- a/docs/_includes/js/modal.html +++ b/docs/_includes/js/modal.html @@ -10,7 +10,7 @@

Modal markup placement

Always try to place a modal's HTML code in a top-level position in your document to avoid other components affecting the modal's appearance and/or functionality.

-
+

Mobile device caveats

There are some caveats regarding using modals on mobile devices. See our browser support docs for details.

@@ -134,13 +134,13 @@
{% endhighlight %} -
+

Make modals accessible

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.

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

-
+

Embedding YouTube videos

Embedding YouTube videos in modals requires additional JavaScript not in Bootstrap to automatically stop playback and more. See this helpful Stack Overflow post for more information.

-- cgit v1.2.3