aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes/css/helpers.html
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2014-11-13 12:24:03 -0800
committerChris Rebert <[email protected]>2014-11-13 12:24:03 -0800
commit3a96a80a1b304518879e73f945ea254b9aa023a9 (patch)
tree4973ebc5cce32bbb9d86889cf0a3e2068d42d776 /docs/_includes/css/helpers.html
parent101940b452d1def46882f0d01f81f6e596f1e8cf (diff)
parentea407666ce3c5d708b4a830fb2d00bdcb0d2d53e (diff)
downloadbootstrap-3a96a80a1b304518879e73f945ea254b9aa023a9.tar.xz
bootstrap-3a96a80a1b304518879e73f945ea254b9aa023a9.zip
Merge pull request #15093 from twbs/id-callouts
Give all docs callouts IDs [skip sauce]
Diffstat (limited to 'docs/_includes/css/helpers.html')
-rw-r--r--docs/_includes/css/helpers.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/_includes/css/helpers.html b/docs/_includes/css/helpers.html
index a661ded22..0068b159e 100644
--- a/docs/_includes/css/helpers.html
+++ b/docs/_includes/css/helpers.html
@@ -19,11 +19,11 @@
<p class="text-warning">...</p>
<p class="text-danger">...</p>
{% endhighlight %}
- <div class="bs-callout bs-callout-info">
+ <div class="bs-callout bs-callout-info" id="callout-helper-context-color-specificity">
<h4>Dealing with specificity</h4>
<p>Sometimes emphasis classes cannot be applied due to the specificity of another selector. In most cases, a sufficient workaround is to wrap your text in a <code>&lt;span&gt;</code> with the class.</p>
</div>
- <div class="bs-callout bs-callout-warning">
+ <div class="bs-callout bs-callout-warning" id="callout-helper-context-color-accessibility">
<h4>Conveying meaning to assistive technologies</h4>
<p>Using color to add meaning only provides a visual indication, which will not be conveyed to users of assistive technologies – such as screen readers. Ensure that information denoted by the color is either obvious from the content itself (the contextual colors are only used to reinforce meaning that is already present in the text/markup), or is included through alternative means, such as additional text hidden with the <code>.sr-only</code> class.</p>
</div>
@@ -44,11 +44,11 @@
<p class="bg-warning">...</p>
<p class="bg-danger">...</p>
{% endhighlight %}
- <div class="bs-callout bs-callout-info">
+ <div class="bs-callout bs-callout-info" id="callout-helper-bg-specificity">
<h4>Dealing with specificity</h4>
<p>Sometimes contextual background classes cannot be applied due to the specificity of another selector. In some cases, a sufficient workaround is to wrap your element's content in a <code>&lt;div&gt;</code> with the class.</p>
</div>
- <div class="bs-callout bs-callout-warning">
+ <div class="bs-callout bs-callout-warning" id="callout-helper-bg-accessibility">
<h4>Conveying meaning to assistive technologies</h4>
<p>As with <a href="#helper-classes-colors">contextual colors</a>, ensure that any meaning conveyed through color is also conveyed in a format that is not purely presentational.</p>
</div>
@@ -97,7 +97,7 @@
}
{% endhighlight %}
- <div class="bs-callout bs-callout-warning">
+ <div class="bs-callout bs-callout-warning" id="callout-helper-pull-navbar">
<h4>Not for use in navbars</h4>
<p>To align components in navbars with utility classes, use <code>.navbar-left</code> or <code>.navbar-right</code> instead. <a href="../components/#navbar-component-alignment">See the navbar docs</a> for details.</p>
</div>