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/modal.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/modal.md')
| -rw-r--r-- | docs/components/modal.md | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/docs/components/modal.md b/docs/components/modal.md index 8bf782674..caa974e23 100644 --- a/docs/components/modal.md +++ b/docs/components/modal.md @@ -48,7 +48,6 @@ A rendered modal with header, body, and set of actions in the footer. <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> - <span class="sr-only">Close</span> </button> <h4 class="modal-title">Modal title</h4> </div> @@ -71,7 +70,6 @@ A rendered modal with header, body, and set of actions in the footer. <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> - <span class="sr-only">Close</span> </button> <h4 class="modal-title">Modal title</h4> </div> @@ -98,7 +96,6 @@ Toggle a modal via JavaScript by clicking the button below. It will slide down a <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> - <span class="sr-only">Close</span> </button> <h4 class="modal-title" id="myModalLabel">Modal title</h4> </div> @@ -153,7 +150,6 @@ Toggle a modal via JavaScript by clicking the button below. It will slide down a <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> - <span class="sr-only">Close</span> </button> <h4 class="modal-title" id="myModalLabel">Modal title</h4> </div> @@ -223,7 +219,6 @@ Modals have two optional sizes, available via modifier classes to be placed on a <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> - <span class="sr-only">Close</span> </button> <h4 class="modal-title" id="myLargeModalLabel">Large modal</h4> </div> @@ -241,7 +236,6 @@ Modals have two optional sizes, available via modifier classes to be placed on a <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> - <span class="sr-only">Close</span> </button> <h4 class="modal-title" id="mySmallModalLabel">Small modal</h4> </div> @@ -329,7 +323,6 @@ Have a bunch of buttons that all trigger the same modal, just with slightly diff <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> - <span class="sr-only">Close</span> </button> <h4 class="modal-title" id="exampleModalLabel">New message</h4> </div> |
