Closed Bug 1556064 Opened 5 years ago Closed 3 years ago

Add `autocomplete` attribute to password fields

Categories

(Cloud Services :: Server: Firefox Accounts, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED MOVED

People

(Reporter: MattN, Unassigned)

References

Details

Fields which are used for entering a new password (including the confirmation field) should have autocomplete=new-password whereas fields used to log in should have autocomplete=current-password. If <input type=password> is ever used for one-time codes then autocomplete=one-time-code should be used.

The new-password and one-time-code values hint to the password manager not to autofill an existing login (it will still autocomplete in the short term) while one-time-code will eventually prevent the value from being saved in form history too (bug 1547294).

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → MOVED
You need to log in before you can comment on or make changes to this bug.