somascope
1/10/2020 - 5:04 AM

a11y Form Examples

<!-- Nest inputs in labels -->
<!-- Or else use ID and FOR attributes -->
<label>
  <input type="radio" name="percussion" value"drums">Drums
</label>

<!-- Fieldsets to group related elements in a form -->
<!-- CSS: You may want to set border: none-->
<fieldset class="contact">
  <legend>Your contact information</legend>
  ...
  ...
</fieldset>