mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-08 17:22:31 +03:00
Add explicit aria-label to unlabeled controls
- in particular, controls that just relied on `placeholder`, as this is still not officially/consistently supported as a valid way to provide an accessible name (though some browsers do use it as a fallback)
This commit is contained in:
committed by
XhmikosR
parent
a68f73e754
commit
00ff5b83f9
@@ -280,7 +280,7 @@ Validation styles are available for the following form controls and components:
|
||||
</div>
|
||||
|
||||
<div class="mb-3">
|
||||
<select class="form-select" required>
|
||||
<select class="form-select" required aria-label="select example">
|
||||
<option value="">Open this select menu</option>
|
||||
<option value="1">One</option>
|
||||
<option value="2">Two</option>
|
||||
|
||||
Reference in New Issue
Block a user