-
Notifications
You must be signed in to change notification settings - Fork 348
Add autofocus for jwt token input #862
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
My main concern with this change is that the page doesn't follow a logical focus order. It might be an issue for accessibility or screen readers. @javiert-okta WDYT? |
Thanks for bringing this up @christiansamaniego-okta ! In fact, this does change the logical focus order which can be a problem for folks using screen readers. I would suggest adding a check option that lets a user trigger this autofocus functionality only if they want to. Some sort of personal preference that can be saved in the local storage. WDYT? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
This PR adds a new feature for the user to enable or disable autofocus on JWT input.


This helps users who have reported they need to switch between tabs constantly to copy/paste tokens and use the mouse for manually focusing the input.
The new feature is optional, meaning the logical focus order won't be affected if the user doesn't want to
Light teme:
Dark theme