- Issue created by @gengo_k
The Password Policy module is responsible for defining password constraints, but the password input fields themselves don't communicate these constraints to the browser or other applications like password managers.
According to the MDN documentation for <input type="password">
, using the pattern attribute is a recommended way to provide validation hints. This allows password managers, such as 1Password, to better understand and validate generated passwords against the policy requirements.
https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/inp...
Add the pattern attribute to all elements when a password policy is enabled. The value of this attribute should be a regular expression that accurately reflects the constraints defined by the active password policy.
Active
4.0
User interface
It affects the ability of people with disabilities or special needs (such as blindness or color-blindness) to use Drupal.