Add autocomplete attribute to password form fields

Created on 16 November 2020, over 3 years ago
Updated 31 January 2024, 4 months ago

Problem/Motivation

Currently Google Chrome produces warning about missing autocomplete on pages with passord input element.

[DOM] Input elements should have autocomplete attributes (suggested: "current-password"): (More info: https://goo.gl/9p2vKq)

Steps to reproduce

Navigate to /user/login page
Open JS console in Google Chrome.

Proposed resolution

Use autocomplete="new-password" for the password input in a login form.
Use autocomplete="current-password" for a password input on register form.

📌 Task
Status

Closed: duplicate

Version

11.0 🔥

Component
Render  →

Last updated about 16 hours ago

Created by

🇷🇺Russia Chi

Live updates comments and jobs are added and updated live.
  • Needs accessibility review

    Used to alert the accessibility topic maintainer(s) that an issue significantly affects (or has the potential to affect) the accessibility of Drupal, and their signoff is needed (see the governance policy draft for more information). Useful links: Drupal's accessibility standards, the Drupal Core accessibility gate.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024