[wp-trac] [WordPress Trac] #62147: Revealed passwords should change back to password type when submitting the form
WordPress Trac
noreply at wordpress.org
Tue Oct 1 12:36:54 UTC 2024
#62147: Revealed passwords should change back to password type when submitting the
form
------------------------------------+-----------------------------
Reporter: jamieburchell | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Login and Registration | Version: 6.6.2
Severity: normal | Keywords:
Focuses: |
------------------------------------+-----------------------------
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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62147>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list