autocomplete=new-password and making them confirm it via entering the password again

Just use autocomplete=”new-password” at the confirmation input. And if you choose to generate a new password in the password input, the confirmation input gets filled with the same value instantly. Tested in chrome.

Reference:

  1. chrome advice
  2. html standard discussion

Leave a Comment