aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes/css
diff options
context:
space:
mode:
authorPatrick H. Lauke <[email protected]>2014-11-14 01:15:54 +0000
committerPatrick H. Lauke <[email protected]>2014-11-14 10:52:56 +0000
commit27d9d35ffd2ec9787374247b373d0cf96cdad3e8 (patch)
treed8cf523c142d2f3c43207ceaf69ac861b52f3ae1 /docs/_includes/css
parent7bdc307b70caaad69fd88a6a9dd6de6a97e1505c (diff)
downloadbootstrap-27d9d35ffd2ec9787374247b373d0cf96cdad3e8.tar.xz
bootstrap-27d9d35ffd2ec9787374247b373d0cf96cdad3e8.zip
Expand caveat for disabled fieldsets and links
Diffstat (limited to 'docs/_includes/css')
-rw-r--r--docs/_includes/css/forms.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/_includes/css/forms.html b/docs/_includes/css/forms.html
index 5df36e282..c558de96a 100644
--- a/docs/_includes/css/forms.html
+++ b/docs/_includes/css/forms.html
@@ -495,7 +495,7 @@
<div class="bs-callout bs-callout-warning" id="callout-fieldset-disabled-pointer-events">
<h4>Caveat about link functionality of <code>&lt;a&gt;</code></h4>
- <p>Our styles use <code>pointer-events: none</code> to try to disable the link functionality of <code>&lt;a class="btn btn-*"&gt;</code> buttons in this case, but that CSS property is not yet standardized and isn't fully supported in Opera 18 and below, or in Internet Explorer 11. So to be safe, use custom JavaScript to disable such links.</p>
+ <p>By default, browsers will treat all native form controls (<code>&lt;input&gt;</code>, <code>&lt;select&gt;</code> and <code>&lt;button&gt;</code> elements) inside a <code>&lt;fieldset disabled&gt;</code> as disabled, preventing both keyboard and mouse interactions on them. However, if your form also includes <code>&lt;a ... class="btn btn-*"&gt;</code> elements, these will only be given a style of <code>pointer-events: none</code>. As noted in the section about <a href="#buttons-disabled">disabled state for buttons</a> (and specifically in the sub-section for anchor elements), this CSS property is not yet standardized and isn't fully supported in Opera 18 and below, or in Internet Explorer 11, and won't prevent keyboard users from being able to focus or activate these links. So to be safe, use custom JavaScript to disable such links.</p>
</div>
<div class="bs-callout bs-callout-danger" id="callout-fieldset-disabled-ie">