bitwarden / passwordless-server

Bitwarden Passwordless.dev infrastructure/backend (API, database, Docker, etc).
https://bitwarden.com/
Other
86 stars 28 forks source link

PAS-380 | Focus when the dialogs/modals open on the form/input elements #655

Closed jonashendrickx closed 3 months ago

jonashendrickx commented 3 months ago

Ticket

Description

When the dialog or modal opens, focus on all the form elements in that modal. So we can use the 'Tab' button to navigate between the elements.

Shape

Screenshots

https://github.com/user-attachments/assets/3f9ff74d-070e-4cc7-ac6d-57b1d0f225ae

Checklist

I did the following to ensure that my changes were tested thoroughly:

I did the following to ensure that my changes do not introduce security vulnerabilities:

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 34.76%. Comparing base (20f3822) to head (b3f1fd7).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #655 +/- ## ======================================= Coverage 34.76% 34.76% ======================================= Files 565 565 Lines 30901 30901 Branches 922 922 ======================================= Hits 10743 10743 Misses 20018 20018 Partials 140 140 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.