Skip to content

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

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

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

Conversation

@YRWoods

@YRWoods YRWoods commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Summary

Make the popup empty-state “Add URLs” control a real button so keyboard users can focus and activate it.

Problem

Part of #12.empty-hint was a div with click-only behavior.

Approach

  • button type=button with existing styles + :focus-visible
  • No production logic change (same click listener)

How I tested

  • Visual/DOM: control is in tab order; Enter/Space activate native button behavior

Empty state add-URLs control was a non-focusable div. Fixes #12 (keyboard path).
@YRWoods

YRWoods commented Jul 15, 2026

Copy link
Copy Markdown
Contributor Author

Withdrawing.

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