aboutsummaryrefslogtreecommitdiff
path: root/docs/components
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2017-05-28 19:48:44 -0700
committerMark Otto <[email protected]>2017-05-28 19:48:44 -0700
commit69b5178c0acb52d1159dbbe5fdfefd535571dde1 (patch)
treecb4606b027a4f0a421b6c8829d615d619ad89cdf /docs/components
parentfc045e0e761f0cf3c50870186558a1b4fc180bda (diff)
downloadbootstrap-69b5178c0acb52d1159dbbe5fdfefd535571dde1.tar.xz
bootstrap-69b5178c0acb52d1159dbbe5fdfefd535571dde1.zip
shorter title
Diffstat (limited to 'docs/components')
-rw-r--r--docs/components/forms.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/components/forms.md b/docs/components/forms.md
index b2546a72b..366f8f625 100644
--- a/docs/components/forms.md
+++ b/docs/components/forms.md
@@ -630,7 +630,7 @@ Add the `disabled` attribute to a `<fieldset>` to disable all the controls withi
{% endexample %}
{% callout warning %}
-#### Caveat about link functionality of `<a>`
+#### 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 }}/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.
{% endcallout %}