Skip to content

fix: Add explicit tabIndex to mode buttons for proper focus order#632

Open
KethanaReddy7 wants to merge 1 commit intouser/kpeddireddy/LocationButtonTabfrom
claude/issue-631-20260226-0922
Open

fix: Add explicit tabIndex to mode buttons for proper focus order#632
KethanaReddy7 wants to merge 1 commit intouser/kpeddireddy/LocationButtonTabfrom
claude/issue-631-20260226-0922

Conversation

@KethanaReddy7
Copy link

@KethanaReddy7 KethanaReddy7 commented Feb 26, 2026

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)

Demo after fix
https://github.com/user-attachments/assets/04db9f9d-4a33-4779-ba53-e8c7f83e1b6d

Fixes #631

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant