diff options
| author | Patrick H. Lauke <[email protected]> | 2015-10-16 00:56:59 +0100 |
|---|---|---|
| committer | Patrick H. Lauke <[email protected]> | 2015-10-16 00:56:59 +0100 |
| commit | 9302fd4fd4a05a44de991416fea4b01443343595 (patch) | |
| tree | 3fbb458c45a9bbb673f882b448dbc841a3568832 /docs/components/utilities.md | |
| parent | 724bf862885f57383f3a19ed46a6deab0f2322a6 (diff) | |
| download | bootstrap-9302fd4fd4a05a44de991416fea4b01443343595.tar.xz bootstrap-9302fd4fd4a05a44de991416fea4b01443343595.zip | |
Remove redundant `.sr-only` text for Close buttons
Since `aria-label` is used, it's not necessary anymore.
Diffstat (limited to 'docs/components/utilities.md')
| -rw-r--r-- | docs/components/utilities.md | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/components/utilities.md b/docs/components/utilities.md index 42d5bd50f..a593f8ce2 100644 --- a/docs/components/utilities.md +++ b/docs/components/utilities.md @@ -149,12 +149,11 @@ Ensure that any meaning conveyed through color is also conveyed in a format that ## Close icon -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`. +Use a generic close icon for dismissing content like modals and alerts. **Be sure to include text for screen readers**, as we've done with `aria-label`. {% example html %} <button type="button" class="close" aria-label="Close"> <span aria-hidden="true">×</span> - <span class="sr-only">Close</span> </button> {% endexample %} |
