diff options
author | Andres Galante <agalante@gmail.com> | 2018-05-31 10:02:14 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2018-05-31 10:02:14 +0300 |
commit | e163d18b12f862845e520b6fe789e241f2c66561 (patch) | |
tree | 84d4e8ca6c433bc4e23ed96221ae514db03e0400 /docs | |
parent | 89a47c98b937a0c85a4701e8343f33ecdfcdff5c (diff) |
Fix inline labels with a custom select (#26615)
Add an sr-only class to the label on inline labels with a custom select
Diffstat (limited to 'docs')
-rw-r--r-- | docs/4.1/components/forms.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/4.1/components/forms.md b/docs/4.1/components/forms.md index 13890476c6..6e98d4a138 100644 --- a/docs/4.1/components/forms.md +++ b/docs/4.1/components/forms.md @@ -570,7 +570,7 @@ And of course [custom form controls](#custom-forms) are supported. <form> <div class="form-row align-items-center"> <div class="col-auto my-1"> - <label class="mr-sm-2" for="inlineFormCustomSelect">Preference</label> + <label class="mr-sm-2 sr-only" for="inlineFormCustomSelect">Preference</label> <select class="custom-select mr-sm-2" id="inlineFormCustomSelect"> <option selected>Choose...</option> <option value="1">One</option> |