Skip to content

Commit 1d40fac

Browse files
committed
1 parent 5c2ad86 commit 1d40fac

File tree

1 file changed

+27
-9
lines changed

1 file changed

+27
-9
lines changed

partials/section.forms.hbs

Lines changed: 27 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33

44
<form>
55
<fieldset id="subsection__text-input" role="region" aria-labelledby="subtitle__text-input"><!-- Start of #subsection__text-input -->
6-
<legend id="subtitle__text-input" role="heading" aria-level="3">Text Input</legend>
6+
<legend>
7+
<h3 id="subtitle__text-input">Text Input</h3>
8+
</legend>
79

810
<label for="input__text">
911
Text
@@ -160,7 +162,9 @@
160162
</fieldset><!-- End of #subsection__text-input -->
161163

162164
<fieldset id="subsection__non-text-input" role="region" aria-labelledby="subtitle__non-text-input"><!-- Start of #subsection__non-text-input -->
163-
<legend id="subtitle__non-text-input" role="heading" aria-level="3">Non-text Input</legend>
165+
<legend>
166+
<h3 id="subtitle__non-text-input">Non-text Input</h3>
167+
</legend>
164168

165169
<label for="input__color">
166170
Color
@@ -189,7 +193,9 @@
189193
</fieldset><!-- End of #subsection__non-text-input -->
190194

191195
<fieldset id="subsection__select" role="region" aria-labelledby="subtitle__select"><!-- Start of #subsection__select -->
192-
<legend id="subtitle__select" role="heading" aria-level="3">Select</legend>
196+
<legend>
197+
<h3 id="subtitle__select">Select</h3>
198+
</legend>
193199

194200
<label for="input__select">
195201
Select
@@ -241,7 +247,9 @@
241247
</fieldset><!-- End of #subsection__select -->
242248

243249
<fieldset id="subsection__checkboxes-and-radios" role="region" aria-labelledby="subtitle__checkboxes-and-radio-buttons"><!-- Start of #subsection__checkboxes-and-radios -->
244-
<legend id="subtitle__checkboxes-and-radio-buttons" role="heading" aria-level="3">Checkboxes and Radio Buttons</legend>
250+
<legend>
251+
<h3 id="subtitle__checkboxes-and-radio-buttons">Checkboxes and Radio Buttons</h3>
252+
</legend>
245253

246254
<label for="input__checkbox">
247255
<input
@@ -363,7 +371,9 @@
363371
</fieldset><!-- End of #subsection__checkboxes-and-radios -->
364372

365373
<fieldset id="subsection__buttons" role="region" aria-labelledby="subtitle__buttons"><!-- Start of #subsection__buttons -->
366-
<legend id="subtitle__buttons" role="heading" aria-level="3">Buttons</legend>
374+
<legend>
375+
<h3 id="subtitle__buttons">Buttons</h3>
376+
</legend>
367377

368378
<button>
369379
Button
@@ -419,7 +429,9 @@
419429
</fieldset><!-- End of #subsection__buttons -->
420430

421431
<fieldset id="subsection__output" role="region" aria-labelledby="subtitle__output"><!-- Start of #subsection__output -->
422-
<legend id="subtitle__output" role="heading" aria-level="3">Output</legend>
432+
<legend>
433+
<h3 id="subtitle__output">Output</h3>
434+
</legend>
423435

424436
<output
425437
for="output"
@@ -442,7 +454,9 @@
442454
</fieldset><!-- End of #subsection__output -->
443455

444456
<fieldset id="subsection__lockup" role="region" aria-labelledby="subtitle__lockup"><!-- Start of #subsection__lockup -->
445-
<legend id="subtitle__lockup" role="heading" aria-level="3">Lockup</legend>
457+
<legend>
458+
<h3 id="subtitle__lockup">Lockup</h3>
459+
</legend>
446460

447461
<label for="input__lockup">
448462
Your Name
@@ -465,7 +479,9 @@
465479
</fieldset><!-- End of #subsection__lockup -->
466480

467481
<fieldset id="subsection__states-and-validation" role="region" aria-labelledby="subtitle__states-and-validation"><!-- Start of #subsection__states-and-validation -->
468-
<legend id="subtitle__states-and-validation" role="heading" aria-level="3">States and Validation</legend>
482+
<legend>
483+
<h3 id="subtitle__states-and-validation">States and Validation</h3>
484+
</legend>
469485
<div id="subsection__input" role="region" aria-labelledby="subtitle__input"><!-- Start of #subsection__input -->
470486
<h4 id="subtitle__input">Input</h4>
471487
<label for="input__required">
@@ -590,7 +606,9 @@
590606
</fieldset><!-- End of #subsection__states-and-validation -->
591607

592608
<fieldset role="region" aria-labelledby="subtitle__autocomplete" id="subsection__autocomplete"><!-- Start of #subsection__autocomplete -->
593-
<legend id="subtitle__autocomplete" role="heading" aria-level="3">Autocomplete</legend>
609+
<legend>
610+
<h3 id="subtitle__autocomplete">Autocomplete</h3>
611+
</legend>
594612

595613
<label for="input__autocomplete-on">
596614
On (Browser automatically completes)

0 commit comments

Comments
 (0)