mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-28 18:20:24 +00:00
docs(forms): use a legend for fieldset instead of aria-label
This commit is contained in:
parent
116deb27c5
commit
e0a3b7ef0d
1 changed files with 2 additions and 1 deletions
|
|
@ -103,7 +103,8 @@ However, if your form also includes custom button-like elements such as `<a clas
|
|||
|
||||
{{< example >}}
|
||||
<form>
|
||||
<fieldset disabled aria-label="Disabled fieldset example">
|
||||
<fieldset disabled>
|
||||
<legend>Disabled fieldset example</legend>
|
||||
<div class="mb-3">
|
||||
<label for="disabledTextInput" class="form-label">Disabled input</label>
|
||||
<input type="text" id="disabledTextInput" class="form-control" placeholder="Disabled input">
|
||||
|
|
|
|||
Loading…
Reference in a new issue