Make WordPress Core

Opened 5 weeks ago

Last modified 5 weeks ago

#62147 new enhancement

Revealed passwords should change back to password type when submitting the form

Reported by: jamieburchell's profile jamieburchell Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Login and Registration Keywords:
Focuses: Cc:

Description

Taking the lead from the UK gov recommendations on implementing password reveal option, they say:

When the form is submitted, the password input should automatically change its type to password, if it has not already done so. This is to prevent browsers from remembering it as a previously-provided value and potentially displaying it as an autofill option on non-password inputs.

Source: https://design-system.service.gov.uk/components/password-input/#define-the-inputs-type-as-password

Currently, the input type remains as text (plain) when submitting a form that has a revealed password.

Change History (2)

This ticket was mentioned in Slack in #core by jamieburchell. View the logs.


5 weeks ago

#2 @sabernhardt
5 weeks ago

  • Version 6.6.2 deleted
Note: See TracTickets for help on using tickets.