Opened 5 months ago
Last modified 2 weeks ago
#62147 new enhancement
Revealed passwords should change back to password type when submitting the form
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Future Release | Priority: | normal |
Severity: | normal | Version: | |
Component: | Login and Registration | Keywords: | good-first-bug has-patch |
Focuses: | javascript, administration | 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 (4)
This ticket was mentioned in Slack in #core by jamieburchell. View the logs.
5 months ago
#3
@
2 weeks ago
- Focuses javascript administration added
- Keywords needs-patch good-first-bug added
- Milestone changed from Awaiting Review to Future Release
This ticket was mentioned in PR #8223 on WordPress/wordpress-develop by @sukhendu2002.
2 weeks ago
#4
- Keywords has-patch added; needs-patch removed
Trac ticket: https://core.trac.wordpress.org/ticket/62147