diff options
| author | Patrick H. Lauke <[email protected]> | 2016-02-17 10:22:48 +0000 |
|---|---|---|
| committer | Patrick H. Lauke <[email protected]> | 2016-02-17 10:53:50 +0000 |
| commit | 40aee9325da27b479e2a907345edccde55fd05ec (patch) | |
| tree | 29c8298b58955f24b9485b93b114024ffe9939fe /docs/components/buttons.md | |
| parent | bfe3c590dfbbfe97bb25f2a9405c59d380309d58 (diff) | |
| download | bootstrap-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/components/buttons.md')
| -rw-r--r-- | docs/components/buttons.md | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/docs/components/buttons.md b/docs/components/buttons.md index 42841807f..d5aa453d7 100644 --- a/docs/components/buttons.md +++ b/docs/components/buttons.md @@ -39,11 +39,8 @@ Bootstrap includes six predefined button styles, each serving its own semantic p <button type="button" class="btn btn-link">Link</button> {% endexample %} -{% callout warning %} -#### Conveying meaning to assistive technologies - -Using color to add meaning to a button 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 visible text of the button), or is included through alternative means, such as additional text hidden with the `.sr-only` class. -{% endcallout %} +{% capture callout-include %}{% include callout-warning-color-assistive-technologies.md %}{% endcapture %} +{{ callout-include | markdownify }} ## Button tags |
