aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes
diff options
context:
space:
mode:
authorPatrick H. Lauke <[email protected]>2016-02-17 16:48:51 +0000
committerPatrick H. Lauke <[email protected]>2016-02-17 16:48:51 +0000
commitfb1d511a2aac334811d5e0a07bf22d776d0c7eac (patch)
treece3d097db1d461400334a95b8257f53defcdbbd3 /docs/_includes
parentcf57ec6934fb5858f30a406916ffcba537bb4736 (diff)
parent40aee9325da27b479e2a907345edccde55fd05ec (diff)
downloadbootstrap-fb1d511a2aac334811d5e0a07bf22d776d0c7eac.tar.xz
bootstrap-fb1d511a2aac334811d5e0a07bf22d776d0c7eac.zip
Merge pull request #19255 from patrickhlauke/color-accessibility-callout-include
Docs: add/unify advice on contextual colors and accessibility
Diffstat (limited to 'docs/_includes')
-rw-r--r--docs/_includes/callout-warning-color-assistive-technologies.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/_includes/callout-warning-color-assistive-technologies.md b/docs/_includes/callout-warning-color-assistive-technologies.md
new file mode 100644
index 000000000..b92a1c341
--- /dev/null
+++ b/docs/_includes/callout-warning-color-assistive-technologies.md
@@ -0,0 +1,5 @@
+{% callout warning %}
+#### Conveying meaning to assistive technologies
+
+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 (e.g. the visible text), or is included through alternative means, such as additional text hidden with the `.sr-only` class.
+{% endcallout %} \ No newline at end of file