Level AA
The purpose of each input field collecting information about the user can be programmatically determined when:
- The input field serves a purpose identified in the Input Purposes for User Interface Components section; and
- The content is implemented using technologies with support for identifying the expected meaning for form input data.>
Explanation
When an HTML input field collects information about the person completing the form, the purpose of the field must be available in the code. This means that someone who has difficulty recalling information can use the browser’s functionality to automatically fill it in.
Responsibilities
- Development
- QA
Requirements
- An HTML input field that collects a piece of data described in input purposes for user-interface controls has the HTML autocomplete attribute with the appropriate value.
Common mistakes
- An HTML input field collects a piece of data described in input purposes for user-interface controls, but does not have an HTML autocomplete attribute with the appropriate value.
Official resources
- 1.3.5 Identify Input Purpose
- Understanding 1.3.5 Identify Input Purpose
- How to meet 1.3.5 Identify Input Purpose
Other resources
Updated on
August 1st 2019