Accessible Forms in HTML — a practical guide to accessible HTML forms with clear examples you can reuse in real projects.
HTML Tutorial Series (69/79). Prefer one article? Read the complete HTML tutorial.
Short description
Labels, instructions, error text associations, and fieldsets matter.
Accessible error idea
<label for="email">Email</label>
<input id="email" type="email" aria-describedby="email-err" aria-invalid="true">
<p id="email-err">Enter a valid email.</p>