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.
Comment | File | Size | Author |
---|---|---|---|
#13 | 3182703-nr-bot.txt | 148 bytes | needs-review-queue-bot |
Issue fork drupal-3182703
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
niklanSome helpful information about these attributes: https://web.dev/sign-in-form-best-practices/
Comment #7
henry.odiete CreditAttribution: henry.odiete at Portage CyberTech commentedComment #13
needs-review-queue-bot CreditAttribution: needs-review-queue-bot as a volunteer commentedThe Needs Review Queue Bot tested this issue. It either no longer applies to Drupal core, or fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".
Apart from a re-roll or rebase, this issue may need more work to address feedback in the issue or MR comments. To progress an issue, incorporate this feedback as part of the process of updating the issue. This helps other contributors to know what is outstanding.
Consult the Drupal Contributor Guide to find step-by-step guides for working with issues.
Comment #15
pierrepaul CreditAttribution: pierrepaul as a volunteer and at Evolving Web commentedSeems to be a duplicate of https://www.drupal.org/project/drupal/issues/3181647
Comment #16
kopeboyThat one was created later but it is already fixed, so yeah, marking as duplicate.