"Passwords Match:" text shows below password_confirm element on initial page load

Created on 20 March 2017, almost 8 years ago
Updated 1 May 2023, over 1 year ago

Problem/Motivation

You will notice that when viewing the register form you will see "Passwords Match:" showing below the second confirm password box. It should be hidden initially when the page loads and only show as you start to type the second password. When you start typing your password the text will disappear.

This was introduced with: #1751434: Selectors clean-up: user module
This changed the class on that wrapper field from .password-confirm-match to .password-confirm, the CSS that controls this element was not updated and still has the old id (https://github.com/drupal/drupal/blob/8.4.x/core/modules/user/css/user.m...).

This could be fixed by the (long) upcoming 📌 Replace confirm password field with show/hide functionality Needs work but is a bug that needs fixing till then.

Steps to reproduce

Drupal 10.1.x, this occurs with Stark and Olivero but not Claro.

Proposed resolution

TBA

Remaining tasks

Decide if the password strength text should be in included in this change.
Update patch
review
commit

User interface changes

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Needs work

Version

10.1

Component
User system 

Last updated 4 days ago

Created by

🇺🇸United States rbrandon

Live updates comments and jobs are added and updated live.
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.71.5 2024