aboutsummaryrefslogtreecommitdiff
path: root/docs/components/helpers.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/components/helpers.md')
-rw-r--r--docs/components/helpers.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/components/helpers.md b/docs/components/helpers.md
index 21a145962..8976e0556 100644
--- a/docs/components/helpers.md
+++ b/docs/components/helpers.md
@@ -52,7 +52,7 @@ Similar to the contextual text color classes, easily set the background of an el
Use a generic close icon for dismissing content like modals and alerts. **Be sure to include screen reader text when you can** as we've done with `.sr-only`.
{% example html %}
-<button type="button" class="close">
+<button type="button" class="close" aria-label="Close">
<span aria-hidden="true">&times;</span>
<span class="sr-only">Close</span>
</button>