[Skip navigation links]

Accessibility Checkpoint AccHtmlInputPasswordPurpose


For INPUT TYPE=PASSWORD elements, set the AUTOCOMPLETE attribute to ‘new-password’ or ‘current-password’ in order to identify input purpose.


Specifying what kind of data is expected in a particular INPUT field makes filling out forms easier, especially for people with cognitive disabilities. While TYPE=PASSWORD specifies the type of input, it doesn’t specify its purpose. Autocomplete values such as ‘new-password’ and ‘current-password’ are a well-supported way of identifying input purpose.

Applicable Standards

Change history

This page describes a web site issue detected by SortSite Desktop and OnDemand Suite.

Rule ID: AccHtmlInputPasswordPurpose