diff options
| author | XhmikosR <[email protected]> | 2019-11-26 19:12:00 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-11-26 19:12:00 +0200 |
| commit | 593574d510050dc2d5eeafe70a58ae182f020480 (patch) | |
| tree | 043a163d6c712121ca0fe1f34c419ab592b03185 /site/docs/4.4/utilities/close-icon.md | |
| parent | d61bba584f89c7df0d780a9ff214a58f7b58cb94 (diff) | |
| download | bootstrap-4.4.0.tar.xz bootstrap-4.4.0.zip | |
Release v4.4.0 (#29735)v4.4.0
Diffstat (limited to 'site/docs/4.4/utilities/close-icon.md')
| -rw-r--r-- | site/docs/4.4/utilities/close-icon.md | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/site/docs/4.4/utilities/close-icon.md b/site/docs/4.4/utilities/close-icon.md new file mode 100644 index 000000000..3a8cb3c44 --- /dev/null +++ b/site/docs/4.4/utilities/close-icon.md @@ -0,0 +1,15 @@ +--- +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`. + +{% capture example %} +<button type="button" class="close" aria-label="Close"> + <span aria-hidden="true">×</span> +</button> +{% endcapture %} +{% include example.html content=example %} |
