I gave a presentation at a conference for making learning accessible at Michigan State University. My presentation was a brief overview into how to make HTML forms more accessible to everyone.
3. ACCESSIBLE FORMS
INTRO TO HTML FORMS
▸ <form>
▸ declares the form for the browser
‣ action
‣ method
▸ <input>
‣ tells the browser what to show
4. ACCESSIBLE FORMS
<INPUT>
▸ type=“ “
▸ sets the type of input field
▸ name=“ “
▸ name that gets submitted with the form
▸ value=“ “
▸ optional (but encouraged)
▸ <p> tag?
12. ACCESSIBLE FORMS
LABELS
▸ <label> or aria-labelledby
▸ for=“”
▸ added to the label tag
▸ id=“”
▸ added to the input tag
▸ “Label for=“ must match id=“”
15. ACCESSIBLE FORMS
REQUIRED ELEMENTS
▸ add “(required)”
▸ this is to be added in the label
▸ “required”
▸ to be added in the input tag
▸ aria-required=“true”
▸ to be added in the input tag