0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

Add accessible name to fieldset

This commit is contained in:
Patrick H. Lauke 2020-03-23 13:07:37 +02:00 committed by XhmikosR
parent 00ff5b83f9
commit 7af4af209c

View File

@ -103,7 +103,7 @@ By default, browsers will treat all native form controls (`<input>`, `<select>`,
{{< example >}}
<form>
<fieldset disabled>
<fieldset disabled aria-label="Disabled fieldset example">
<div class="mb-3">
<label for="disabledTextInput">Disabled input</label>
<input type="text" id="disabledTextInput" class="form-control" placeholder="Disabled input">