aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2017-07-16 12:15:38 -0700
committerMark Otto <[email protected]>2017-08-10 23:00:37 -0700
commite9c24b0cda50dfe2036bd4104e05789c317850e8 (patch)
tree08454a30683275e72658426d5a85a512ce70d855 /docs
parent11299fe47c6af9bda33f1259393b3f86769d7517 (diff)
downloadbootstrap-e9c24b0cda50dfe2036bd4104e05789c317850e8.tar.xz
bootstrap-e9c24b0cda50dfe2036bd4104e05789c317850e8.zip
clarify text, break up larger paragraph, shorten
Diffstat (limited to 'docs')
-rw-r--r--docs/4.0/components/badge.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/4.0/components/badge.md b/docs/4.0/components/badge.md
index 0a4c2427e..193a3ca61 100644
--- a/docs/4.0/components/badge.md
+++ b/docs/4.0/components/badge.md
@@ -36,8 +36,9 @@ Badges can be used as part of links or buttons to provide a counter.
</button>
{% endexample %}
+Note that depending on how they are used, badges may be confusing for users of screen readers and similar assistive technologies. While the styling of badges provides a visual cue as to their purpose, these users will simply be presented with the content of the badge. Depending on the specific situation, these badges may seem like random additional words or numbers at the end of a sentence, link, or button.
-Note that depending on how they are used, badges may be confusing for users of screen readers and similar assistive technologies. While the styling of badges provides a visual cue as to their purpose, these users will simply be presented with the content of the badge. Depending on the specific situation, these badges may seem like random additional words or numbers at the end of a sentence, link or button. Unless the context is clear (as with the "Notifications" example, where it is arguably understandable that the "4" gives a count of the number of notifications), consider including additional context – for instance using a visually hidden piece of additional text.
+Unless the context is clear (as with the "Notifications" example, where it is understood that the "4" is the number of notifications), consider including additional context with a visually hidden piece of additional text.
{% example html %}
<button class="btn">