diff options
| author | Chris Rebert <[email protected]> | 2014-09-23 16:53:09 -0700 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2014-09-23 16:53:09 -0700 |
| commit | d6903e4239afaf5659ec655c8f73f411f441f415 (patch) | |
| tree | 0f296828fc77650b1b1ed20514c6d95999eb9958 /docs | |
| parent | 5d051736a41b905ceca47b8121602db22c252576 (diff) | |
| download | bootstrap-d6903e4239afaf5659ec655c8f73f411f441f415.tar.xz bootstrap-d6903e4239afaf5659ec655c8f73f411f441f415.zip | |
Document that the autofocus attribute doesn't work in modals.
Closes #14478.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/_includes/js/modal.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/_includes/js/modal.html b/docs/_includes/js/modal.html index b325c5d19..e47464a4c 100644 --- a/docs/_includes/js/modal.html +++ b/docs/_includes/js/modal.html @@ -1,7 +1,5 @@ <div class="bs-docs-section"> <h1 id="modals" class="page-header">Modals <small>modal.js</small></h1> - - <h2 id="modals-examples">Examples</h2> <p>Modals are streamlined, but flexible, dialog prompts with the minimum required functionality and smart defaults.</p> <div class="bs-callout bs-callout-warning" id="callout-stacked-modals"> @@ -17,6 +15,10 @@ <p>There are some caveats regarding using modals on mobile devices. <a href="../getting-started/#support-fixed-position-keyboards">See our browser support docs</a> for details.</p> </div> + <p><strong class="text-danger">Due to how HTML5 defines its semantics, the <code>autofocus</code> HTML attribute has no effect in Bootstrap modals.</strong></p> + + <h2 id="modals-examples">Examples</h2> + <h3>Static example</h3> <p>A rendered modal with header, body, and set of actions in the footer.</p> <div class="bs-example bs-example-modal"> |
