Skip to content

[web][CLOUD-265] Fix focus order for `Forgot password?` link

Warren Gifford requested to merge CLOUD-265 into main

Created by: kopancek

Description

Previously, the link was second in tab focused items on the page. This was inconvenient, because after typing in username, hitting tab would focus on the Forgot password link instead of the password input.

Now the order of the focus was reversed so that password input is focused before the Forgot password link. Which allows to fill the login form by hitting TAB only once.

Video

https://user-images.githubusercontent.com/9974711/164483837-2e6932b5-0974-4d41-96cf-1874b1df7e3c.mp4

Related items

https://sourcegraph.atlassian.net/browse/CLOUD-265

Test plan

There is no change in functionality, just ordering of elements. Tested locally, as seen in the video.

App preview:

Check out the client app preview documentation to learn more.

Merge request reports

Loading