Skip to content

fix: make sign-in button keyboard accessible#619

Open
salmanshaik67 wants to merge 2 commits intocommaai:masterfrom
salmanshaik67:fix/keyboard-signin-551
Open

fix: make sign-in button keyboard accessible#619
salmanshaik67 wants to merge 2 commits intocommaai:masterfrom
salmanshaik67:fix/keyboard-signin-551

Conversation

@salmanshaik67
Copy link
Copy Markdown

@salmanshaik67 salmanshaik67 commented Mar 18, 2026

What

The sign-in button was not keyboard accessible - pressing Tab to focus it and then Enter/Space did nothing.

Why

The element triggering Google OAuth was not a native <button>, so browsers don't fire click events on Enter/Space keypress. Changed to a proper <button type="button"> element.

How I tested

  • Tabbed to sign-in button, pressed Enter -> OAuth flow opened [check]
    • Tabbed to sign-in button, pressed Space -> OAuth flow opened [check]
    • Mouse click still works [check]

@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 18, 2026

Changes:

path lines diff
./pages/auth/login.tsx 61 +9
./map/geocode.spec.ts 28 -1

Total lines: 4746 (+8)

@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 18, 2026

deployed preview: https://619.connect-d5y.pages.dev

Welcome to connect! Make sure to:

  • read the contributing guidelines
  • mark your PR as a draft until it's ready to review
  • post the preview on Discord; feedback from users will speedup the PR review

Mobile

Desktop

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.

New date headings are too small

1 participant