2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-14 18:42:30 +03:00

Rename close icon to close button (#29387)

This commit is contained in:
Shohei Yoshida
2019-10-22 11:27:43 +09:00
committed by Mark Otto
parent 3251de8d57
commit 3b876be652
3 changed files with 6 additions and 6 deletions
@@ -0,0 +1,14 @@
---
layout: docs
title: Close button
description: A generic close button for dismissing content like modals and alerts.
group: components
---
**Be sure to include text for screen readers**, as we've done with `aria-label`.
{{< example >}}
<button type="button" class="close" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
{{< /example >}}