From 795d2208b882e194e6059a1639e056e020d64072 Mon Sep 17 00:00:00 2001 From: Feram bot Date: Fri, 15 Apr 2016 14:27:16 +0000 Subject: [PATCH] Fix 2 typos; closes #19741 * cover.css: "inheritence" [sic] * collapse.html: "targetting" [sic] --- docs/_includes/js/collapse.html | 2 +- docs/examples/cover/cover.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_includes/js/collapse.html b/docs/_includes/js/collapse.html index 6d856862a9..686705d1e6 100644 --- a/docs/_includes/js/collapse.html +++ b/docs/_includes/js/collapse.html @@ -167,7 +167,7 @@

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.

+

Additionally, if your control element is targeting 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.

Usage

diff --git a/docs/examples/cover/cover.css b/docs/examples/cover/cover.css index 9d566deda3..a199657bd5 100644 --- a/docs/examples/cover/cover.css +++ b/docs/examples/cover/cover.css @@ -14,7 +14,7 @@ a:hover { .btn-default:hover, .btn-default:focus { color: #333; - text-shadow: none; /* Prevent inheritence from `body` */ + text-shadow: none; /* Prevent inheritance from `body` */ background-color: #fff; border: 1px solid #fff; }