autocomplete attribute must be used correctly

Serious

What is the problem?

The autocomplete attribute is used to help browsers and assistive technologies autofill form fields with relevant information. If the autocomplete attribute is incorrect or missing, autofill may not work as expected.

Impacted Groups

Attention Deficit
Blind
Low Vision
Deafblind
Mobility
Cognitive

Why is this important?

Incorrect autocomplete attributes can hinder the user experience, especially for users with disabilities. For example, screen reader users may miss important information or have difficulty navigating the form. Additionally, incorrect autofill can lead to errors in form submissions.

How to solve this issue

To fix this issue, use the correct autocomplete values for each form field. If the form field is collecting personal data, then consider using one of the 53 values identified in the WCAG 2.1 guidelines, such as address-line1or cc-number. This will help browsers and assistive technologies provide a better user experience by enabling accurate autofill and form completion.

Rule Information

Rule ID

autocomplete-valid

Severity

Serious

Manual Review Required

Yes

Rule Group

WCAG 2.1 Level A & AA Rules

Guidelines

  • WCAG 2.1 (AA)
  • WCAG 2.2 (AA)
  • EN 301 549

Customise Guidance

You can customise each accessibility rule in SiteAlly with your own guidance, instructions and even links to your own organisation specific documentation.

Enable your website editors to resolve issues quickly with SiteAlly.

Ready to make your website accessible?

SiteAlly provides automated accessibility monitoring, detailed reports, and step-by-step guidance to help you achieve and maintain compliance.