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 | 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)
Note: See
TracTickets for help on using
tickets.