diff options
| author | XhmikosR <[email protected]> | 2021-01-19 18:16:38 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-01-19 18:16:38 +0200 |
| commit | 6ffb0b48e455430f8a5359ed689ad64c1143fac2 (patch) | |
| tree | 6262338881c32c3c19e4977152ecd0fca61a341c /site/content/docs/4.6/utilities/close-icon.md | |
| parent | 9d87bd7a30c1874a9c3d60041a4042228753dd0e (diff) | |
| download | bootstrap-4.6.0.tar.xz bootstrap-4.6.0.zip | |
Release v4.6.0. (#32726)v4.6.0
* Bump version to v4.6.0.
* Dist
Diffstat (limited to 'site/content/docs/4.6/utilities/close-icon.md')
| -rw-r--r-- | site/content/docs/4.6/utilities/close-icon.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/site/content/docs/4.6/utilities/close-icon.md b/site/content/docs/4.6/utilities/close-icon.md new file mode 100644 index 000000000..8329fd94b --- /dev/null +++ b/site/content/docs/4.6/utilities/close-icon.md @@ -0,0 +1,14 @@ +--- +layout: docs +title: Close icon +description: Use a generic close icon for dismissing content like modals and alerts. +group: utilities +--- + +**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">×</span> +</button> +{{< /example >}} |
