fix: Add explicit tabIndex to mode buttons for proper focus order#632
Open
KethanaReddy7 wants to merge 1 commit intouser/kpeddireddy/LocationButtonTabfrom
Open
fix: Add explicit tabIndex to mode buttons for proper focus order#632KethanaReddy7 wants to merge 1 commit intouser/kpeddireddy/LocationButtonTabfrom
KethanaReddy7 wants to merge 1 commit intouser/kpeddireddy/LocationButtonTabfrom
Conversation
Mode buttons previously had undefined tabIndex values, which caused keyboard focus to skip the location dropdown when navigating with Tab. This fix adds explicit tabIndex values (40-45) to mode buttons to ensure proper tab navigation order: 1. Mode buttons (40-45) 2. PDF options (60+) 3. Location dropdown (70) 4. Clip button (71) Fixes #631 Co-Authored-By: KethanaReddy7 <KethanaReddy7@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Mode buttons previously had undefined tabIndex values, which caused keyboard focus to skip the location dropdown when navigating with Tab.
This fix adds explicit tabIndex values (40-45) to mode buttons to ensure proper tab navigation order:
Demo after fix
https://github.com/user-attachments/assets/04db9f9d-4a33-4779-ba53-e8c7f83e1b6d
Fixes #631