Surround a related set of checkboxes with a
<legend> provides context for the grouping. Do not use fieldset and legend for a single check. Each input should have a semantic
id attribute, and its corresponding label should have the same value in its
for attribute. List options vertically if possible; horizontal listings can make it difficult to tell which label pertains to which checkbox.
Group related radio buttons together with
<fieldset> and describe the group with
<legend>. Each radio button should have a label. Associate the two by matching the label’s
for attribute to the input’s
Only one designation type — required or optional — should be used on a given form.