...
the screen reader should announce the form label.
...
Markup and Code
Code Block | ||
---|---|---|
| ||
<fieldset> <legend>Choose<legend>Select ayour shipping methodoption:</legend> <input id="overnight" type="radio" name="shipping" value="overnight"> <label for="overnight">Overnight</label><br> <input id="twoday" type="radio" name="shipping" value="twoday"> <label for="twoday">Two day</label><br> <input id="ground" type="radio" name="shipping" value="ground"> <label for="ground">Ground</label> </fieldset> |
...