Commit e163d18b authored by Andres Galante's avatar Andres Galante Committed by XhmikosR
Browse files

Fix inline labels with a custom select (#26615)

Add an sr-only class to the label on inline labels with a custom select
parent 89a47c98
Showing with 1 addition and 1 deletion
+1 -1
......@@ -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>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment