Accessibility 101
Forms (continued)
Using fieldset
s
Example fieldset
Code for Example fieldset
<fieldset>
<legend>Primary Cardholder</legend>
<label for="primaryFirstName">First Name</label>
<input id="primaryFirstName" type="text" name="primaryFirstName">
</fieldset>
<fieldset>
<legend>Secondary Cardholder<legend>
<label for="secondaryFirstName">First Name</label>
<input id="secondaryFirstName" type="text" name="secondaryFirstName">
</fieldset>