Skip to content

Commit 46cb196

Browse files
committed
Improve form accessibility and add submit button
1 parent 94d06b4 commit 46cb196

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

Form-Controls/index.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ <h1>Product Pick</h1>
3737
</div>
3838

3939
<!-- Colour -->
40-
<div>
41-
<p>Colour</p>
40+
<fieldset>
41+
<legend>Colour</legend>
4242

4343
<label>
4444
<input type="radio" name="colour" value="red" required>
@@ -53,8 +53,7 @@ <h1>Product Pick</h1>
5353
<label>
5454
<input type="radio" name="colour" value="green">
5555
Green
56-
</label>
57-
</div>
56+
</fieldset>
5857

5958
<!-- Size -->
6059
<div>

0 commit comments

Comments
 (0)