Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMark Otto <markdotto@gmail.com>2014-12-01 12:39:31 +0300
committerMark Otto <markdotto@gmail.com>2014-12-01 12:39:31 +0300
commita17f23c022aab37872b1801efa3a58cf73123fe0 (patch)
tree979260bf15cc040cc643f4529c5db84a29e77f1c /docs
parent0eb2c922d892bdcd4356b7212ab61c7d8a44c2dc (diff)
nuke the other incomplete example per @ianw
Diffstat (limited to 'docs')
-rw-r--r--docs/_includes/js/collapse.html9
1 files changed, 0 insertions, 9 deletions
diff --git a/docs/_includes/js/collapse.html b/docs/_includes/js/collapse.html
index 4233f1da2b..ec85cc9228 100644
--- a/docs/_includes/js/collapse.html
+++ b/docs/_includes/js/collapse.html
@@ -164,15 +164,6 @@
</div>
</div>
- <p>You can also use the plugin without the accordion markup. Make a button toggle the expanding and collapsing of another element.</p>
-{% highlight html %}
-<button type="button" class="btn btn-danger" data-toggle="collapse" data-target="#demo" aria-expanded="true" aria-controls="demo">
- simple collapsible
-</button>
-
-<div id="demo" class="collapse in">...</div>
-{% endhighlight %}
-
<div class="bs-callout bs-callout-warning" id="callout-collapse-accessibility">
<h4>Make expand/collapse controls accessible</h4>
<p>Be sure to add <code>aria-expanded</code> to the control element. This attribute explicitly defines the current state of the collapsible element to screen readers and similar assistive technologies. If the collapsible element is closed by default, it should have a value of <code>aria-expanded="false"</code>. If you've set the collapsible element to be open by default using the <code>in</code> class, set <code>aria-expanded="true"</code> on the control instead. The plugin will automatically toggle this attribute based on whether or not the collapsible element has been opened or closed.</p>