ProtonMail / WebClients

Monorepo hosting the proton web clients
GNU General Public License v3.0
4.24k stars 538 forks source link

Auto-focus "Authenticate" button on "Two-factor authentication" page #295

Closed julemand101 closed 1 year ago

julemand101 commented 1 year ago

When using two-factor with security key, it would be nice if the button "Authenticate" would be automatic in focus so you can just click enter right away to start the authentication with the security key. If you want to use the keyboard right now, you need to click tab 4-5 times before you get focus on the "Authenticate" button.

For inspiration, look at GitHub where the "Use security key" button is focused right away after login which makes it quick to start the two factor authentication process just using the keyboard. :)

nico3333fr commented 1 year ago

Good idea, we sent a fix, it should be published soon ;)

julemand101 commented 1 year ago

Verified today and seem to have been implemented and works as intended. Thanks! 👍

nico3333fr commented 1 year ago

Thanks a lot for suggesting <3