diff options
| author | Herst <[email protected]> | 2017-09-04 14:31:48 +0200 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2017-09-04 15:22:26 -0700 |
| commit | b5e986cd6b4b7422e1ce503c0aee22e867840029 (patch) | |
| tree | 173b65158252c9b789e6ff830abd5466bb3a3999 /docs | |
| parent | a20f614fe4687033c173de0602d625b5aa6dc34f (diff) | |
| download | bootstrap-b5e986cd6b4b7422e1ce503c0aee22e867840029.tar.xz bootstrap-b5e986cd6b4b7422e1ce503c0aee22e867840029.zip | |
IE11 supports pointer-events CSS property
See http://caniuse.com/#feat=pointer-events
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/4.0/components/forms.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/4.0/components/forms.md b/docs/4.0/components/forms.md index 80c5db547..d5c5fae08 100644 --- a/docs/4.0/components/forms.md +++ b/docs/4.0/components/forms.md @@ -658,7 +658,7 @@ Add the `disabled` attribute to a `<fieldset>` to disable all the controls withi {% callout warning %} #### Caveat with anchors -By default, browsers will treat all native form controls (`<input>`, `<select>` and `<button>` elements) inside a `<fieldset disabled>` as disabled, preventing both keyboard and mouse interactions on them. However, if your form also includes `<a ... class="btn btn-*">` elements, these will only be given a style of `pointer-events: none`. As noted in the section about [disabled state for buttons]({{ site.baseurl }}/docs/{{ site.docs_version }}/components/buttons/#disabled-state) (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. +By default, browsers will treat all native form controls (`<input>`, `<select>` and `<button>` elements) inside a `<fieldset disabled>` as disabled, preventing both keyboard and mouse interactions on them. However, if your form also includes `<a ... class="btn btn-*">` elements, these will only be given a style of `pointer-events: none`. As noted in the section about [disabled state for buttons]({{ site.baseurl }}/docs/{{ site.docs_version }}/components/buttons/#disabled-state) (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 10, 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. {% endcallout %} {% callout danger %} |
