Closed jonnystening closed 5 years ago
The <fieldset> element should wrap grouped radios/checkboxes and use the <legend> element to define the question.
<fieldset>
<legend>
Note: also consider Switches and Button groups
See https://accessibility.blog.gov.uk/2016/07/22/using-the-fieldset-and-legend-elements/
This has been included in the latest accessible forms work
See https://github.com/WestpacCXTeam/GUI-form-checks and https://github.com/WestpacCXTeam/GUI-form-base
The
<fieldset>
element should wrap grouped radios/checkboxes and use the<legend>
element to define the question.Note: also consider Switches and Button groups
See https://accessibility.blog.gov.uk/2016/07/22/using-the-fieldset-and-legend-elements/