aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes
diff options
context:
space:
mode:
authorPatrick H. Lauke <[email protected]>2016-02-17 10:22:48 +0000
committerPatrick H. Lauke <[email protected]>2016-02-17 10:53:50 +0000
commit40aee9325da27b479e2a907345edccde55fd05ec (patch)
tree29c8298b58955f24b9485b93b114024ffe9939fe /docs/_includes
parentbfe3c590dfbbfe97bb25f2a9405c59d380309d58 (diff)
downloadbootstrap-40aee9325da27b479e2a907345edccde55fd05ec.tar.xz
bootstrap-40aee9325da27b479e2a907345edccde55fd05ec.zip
- Conveying color meaning to AT as markdown include
- Add/replace callout for color and AT with include
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