From c84cf4f7f5187e607e1c5a921d7a7b8166e66def Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Thu, 16 Apr 2015 14:07:20 -0700 Subject: rename classes from .bs-docs and .bs to .bd --- docs/components/collapse.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/components/collapse.md') diff --git a/docs/components/collapse.md b/docs/components/collapse.md index 40c27009e..1f5f02f70 100644 --- a/docs/components/collapse.md +++ b/docs/components/collapse.md @@ -5,7 +5,7 @@ title: Collapse Flexible plugin that utilizes a handful of classes for easy toggle behavior. -
+

Plugin dependency

Collapse requires the transitions plugin to be included in your version of Bootstrap.

@@ -87,7 +87,7 @@ Extend the default collapse behavior to create an accordion with the panel compo
{% endexample %} -
+

Make expand/collapse controls accessible

Be sure to add aria-expanded 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 aria-expanded="false". If you've set the collapsible element to be open by default using the in class, set aria-expanded="true" on the control instead. The plugin will automatically toggle this attribute based on whether or not the collapsible element has been opened or closed.

Additionally, if your control element is targetting a single collapsible element – i.e. the data-target attribute is pointing to an id selector – you may add an additional aria-controls attribute to the control element, containing the id of the collapsible element. Modern screen readers and similar assistive technologies make use of this attribute to provide users with additional shortcuts to navigate directly to the collapsible element itself.

-- cgit v1.2.3