Making forms accessible
Form controls are an integral part of almost every web experience, both on mobile devices and laptop/desktop computers. Search fields, online surveys, submit buttons...we encounter these types of elements on virtually any website that we visit. As such, it is critical that we ensure these type of elements are accessible to individuals using assistive technologies.
The approaches highlighted in this section were adapted from WAI-ARIA's Web Accessibility Tutorials - Forms web page. The purpose was to give form to the code snippets provided on the website.
In this section...
In this section, we will cover the following topics:
- Associating labels explicitly
- Associating labels implicitly
- Hiding form labels
- Labeling buttons