]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fix 2 typos; closes #19741 22103/head
authorFeram bot <mail@adriansieber.com>
Fri, 15 Apr 2016 14:27:16 +0000 (14:27 +0000)
committerChris Rebert <code@chrisrebert.com>
Fri, 15 Apr 2016 19:11:23 +0000 (12:11 -0700)
* cover.css: "inheritence" [sic]
* collapse.html: "targetting" [sic]

docs/_includes/js/collapse.html
docs/examples/cover/cover.css

index 6d856862a989b89cdbe1f665c44ac1969da759f3..686705d1e6ccb932b915754cf2bb2250d345e90f 100644 (file)
   <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>
-    <p>Additionally, if your control element is targetting a single collapsible element – i.e. the <code>data-target</code> attribute is pointing to an <code>id</code> selector – you may add an additional <code>aria-controls</code> attribute to the control element, containing the <code>id</code> 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.</p>
+    <p>Additionally, if your control element is targeting a single collapsible element – i.e. the <code>data-target</code> attribute is pointing to an <code>id</code> selector – you may add an additional <code>aria-controls</code> attribute to the control element, containing the <code>id</code> 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.</p>
   </div>
 
   <h2 id="collapse-usage">Usage</h2>
index 9d566deda36a1163e99d6dde7d52fb758552fc56..a199657bd54fbe09516360824a0c211c875518ca 100644 (file)
@@ -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;
 }