aboutsummaryrefslogtreecommitdiff
path: root/docs/components
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2015-04-30 11:40:54 -0700
committerMark Otto <[email protected]>2015-04-30 11:40:54 -0700
commit8174f6c4090de0c3aacc4c3029754bd1c67233e3 (patch)
tree29fde2a0d8171627379e18baa27a1871336cd86d /docs/components
parentb8fa32edd27880a7792abf7a2659d17ef152be03 (diff)
downloadbootstrap-8174f6c4090de0c3aacc4c3029754bd1c67233e3.tar.xz
bootstrap-8174f6c4090de0c3aacc4c3029754bd1c67233e3.zip
update buttons role copy
/cc @cvrebert @patrickhlauke
Diffstat (limited to 'docs/components')
-rw-r--r--docs/components/buttons.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/components/buttons.md b/docs/components/buttons.md
index f84376c61..9b10ac221 100644
--- a/docs/components/buttons.md
+++ b/docs/components/buttons.md
@@ -37,9 +37,9 @@ Using color to add meaning to a button only provides a visual indication, which
## Button tags
-As a best practice, **we highly recommend using the `<button>` element whenever possible** to ensure matching cross-browser rendering. However, you may also use button classes on `<a>`, `<button>`, or `<input>` elements.
+In most cases, the `<button>` element should be used with our `.btn` classes as some browsers render the following elements slightly differently. However, you may also use button classes on `<a>`, `<button>`, or `<input>` elements.
-When using button classes on `<a>` elements, be sure to include the `role="button"` for improved accessibility.
+When using button classes on `<a>` elements, sometimes you'll want to include `role="button"` for improved accessibility. This only applies to buttons that trigger in-page functionality (like collapsing content), and not linking to new pages or sections within the current page.
{% example html %}
<a class="btn btn-secondary" href="#" role="button">Link</a>