This document provides information about the Acquia Web Governance accessibility check:
Do autocomplete attributes align with their purpose?
What
This check ensures that websites provide autocomplete attributes for form inputs and that they align with their intended purpose. The autocomplete attribute helps browsers suggest relevant values when users fill out forms. When an input field includes an autocomplete attribute, it should correctly describe the type of data that is requested.
Common autocomplete values include:
autocomplete="name" for full name
autocomplete="email" for email addresses
autocomplete="tel" for phone numbers
autocomplete="street-address" for street addresses
When is this applicable?
This check applies to web pages that contain input fields with an autocomplete attribute.
Why
Proper use of the autocomplete attribute enhances both usability and accessibility in the following ways:
It saves time because it allows browsers to autofill fields with stored user data.
It reduces errors for users with cognitive disabilities, dyslexia, or mobility impairments.
It improves consistency because it ensures that data is entered in a standardized format.
When autocomplete attributes are incorrectly assigned, users may experience:
Autofill suggestions that do not match the expected input.
Confusion about what information is required.
Frustration when forms do not fill in correctly.
Who
Affected users
This check primarily benefits users with:
Cognitive disabilities: Who may struggle with form completion.
Visual impairments: Who use screen readers that announce autofill suggestions.
Motor impairments: Who rely on autofill to minimize typing.
Examples
This section provides pass and fail examples of this check.
Pass examples
Correct autocomplete values that match the purpose of the input field:
Do autocomplete attributes align with their purpose?
1.3.5 Identify Input Purpose
Introduction
This document provides information about the Acquia Web Governance accessibility check:
Do autocomplete attributes align with their purpose?
What
This check ensures that websites provide autocomplete attributes for form inputs and that they align with their intended purpose. The autocomplete attribute helps browsers suggest relevant values when users fill out forms. When an input field includes an autocomplete attribute, it should correctly describe the type of data that is requested.
Common autocomplete values include:
autocomplete="name" for full name
autocomplete="email" for email addresses
autocomplete="tel" for phone numbers
autocomplete="street-address" for street addresses
When is this applicable?
This check applies to web pages that contain input fields with an autocomplete attribute.
Why
Proper use of the autocomplete attribute enhances both usability and accessibility in the following ways:
It saves time because it allows browsers to autofill fields with stored user data.
It reduces errors for users with cognitive disabilities, dyslexia, or mobility impairments.
It improves consistency because it ensures that data is entered in a standardized format.
When autocomplete attributes are incorrectly assigned, users may experience:
Autofill suggestions that do not match the expected input.
Confusion about what information is required.
Frustration when forms do not fill in correctly.
Who
Affected users
This check primarily benefits users with:
Cognitive disabilities: Who may struggle with form completion.
Visual impairments: Who use screen readers that announce autofill suggestions.
Motor impairments: Who rely on autofill to minimize typing.
Examples
This section provides pass and fail examples of this check.
Pass examples
Correct autocomplete values that match the purpose of the input field: