2 minute read

WCAG 1.3.5: Identify Input Purpose (Level AA)

Ever filled out an online form that auto-fills your name, address, or email? It’s magical. This may seem like a small convenience, but for some users, it’s a necessity.

Identify Input Purpose ensures that form fields are labeled clearly in the code, allowing assistive technologies to understand what each field is for—so everyone can fill out forms more easily, whether they’re using a screen reader or relying on autofill.

Catbook themed example of autocomplete values, only the three letters c, r, e have been typed into the Name field, but it's offering Cream Puff as the autofill value.

Who this impacts

  • People using screen readers: Clearly identified input fields help screen readers announce the purpose of each field correctly.
  • People with cognitive impairments: Predictable and clearly labeled fields reduce confusion when filling out forms.
  • People with motor impairments: Autofilling reduces the number of manual inputs needed, saving time and effort.
  • People using autofill or password managers: Marking fields correctly ensures these tools can automatically fill in the right information.
  • Everyone: Better form usability benefits all users by saving time and reducing errors.

How to meet Identify Input Purpose

  1. Use HTML autocomplete attributes: Implement attributes like autocomplete=”given-name” or autocomplete=”email” to identify the purpose of input fields.
  2. Label fields clearly: Combine the autocomplete attribute with descriptive labels to ensure each input’s purpose is clear.
  3. Test with assistive technologies: Make sure screen readers can accurately interpret and announce the input fields.

Top Tips

  • Use standard field names: Follow the common autocomplete values, like name, email, or street-address.
  • Placeholders suck: Always include a visible label for each field.
  • Stay updated on autocomplete values: Follow the latest standards to ensure compatibility.
  • Test with a screen reader and autofill tools: Ensure that both types of assistive technologies can correctly identify and fill in the fields.

Further reading

Previous articleNext article
Back to top