From: Chris Rebert Date: Tue, 23 Sep 2014 23:53:09 +0000 (-0700) Subject: Document that the autofocus attribute doesn't work in modals. X-Git-Tag: v3.3.0~135^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F14674%2Fhead;p=thirdparty%2Fbootstrap.git Document that the autofocus attribute doesn't work in modals. Closes #14478. --- diff --git a/docs/_includes/js/modal.html b/docs/_includes/js/modal.html index b325c5d19c..e47464a4ce 100644 --- a/docs/_includes/js/modal.html +++ b/docs/_includes/js/modal.html @@ -1,7 +1,5 @@

Modals modal.js

- -

Examples

Modals are streamlined, but flexible, dialog prompts with the minimum required functionality and smart defaults.

@@ -17,6 +15,10 @@

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

+

Due to how HTML5 defines its semantics, the autofocus HTML attribute has no effect in Bootstrap modals.

+ +

Examples

+

Static example

A rendered modal with header, body, and set of actions in the footer.