An accessible form associates each field with a visible label using <label for> and id, groups related fields with fieldset and legend, indicates required fields and flags errors in text linked to the field. Appropriate autocomplete and type attributes help input.
Example
<label for="mail">Email</label>
<input id="mail" type="email" autocomplete="email" required>