Skip to content

fix(a11y): make empty-hint a focusable button - #22

Closed
YRWoods wants to merge 1 commit into
TuYv:masterfrom
YRWoods:fix/empty-hint-keyboard-a11y
Closed

fix(a11y): make empty-hint a focusable button#22
YRWoods wants to merge 1 commit into
TuYv:masterfrom
YRWoods:fix/empty-hint-keyboard-a11y

Conversation

@YRWoods

@YRWoods YRWoods commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Summary

#emptyHintBtn was a click-only div, so keyboard users could not focus or activate Add URLs for batch open (noted in a11y audit / #12).

Change

  • Use button type=button with existing .empty-hint styles
  • focus-visible styles for keyboard focus

Test plan

  • Load unpacked, empty popup state, Tab to empty hint, Enter/Space opens options
  • Mouse click still opens options

Related: #12 / PR #20 audit note.

@YRWoods YRWoods mentioned this pull request Jul 14, 2026
1 task
@YRWoods

YRWoods commented Jul 14, 2026

Copy link
Copy Markdown
Contributor Author

Companion to #20: empty-hint is a real button for keyboard focus. CI green on our side.

@YRWoods

YRWoods commented Jul 14, 2026

Copy link
Copy Markdown
Contributor Author

Live smoke (Playwright Chromium 148 / win32): on this branch #emptyHintBtn is button type=button and is keyboard-focusable (companion to audit gap in #20).

@YRWoods

YRWoods commented Jul 14, 2026

Copy link
Copy Markdown
Contributor Author

Withdrawing.

@YRWoods YRWoods closed this Jul 14, 2026
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