Skip to content

sign in: fix keyboard accessibility for all buttons#586

Open
star7js wants to merge 1 commit intocommaai:masterfrom
star7js:fix/sign-in-keyboard-accessibility
Open

sign in: fix keyboard accessibility for all buttons#586
star7js wants to merge 1 commit intocommaai:masterfrom
star7js:fix/sign-in-keyboard-accessibility

Conversation

@star7js
Copy link
Copy Markdown

@star7js star7js commented Mar 28, 2026

Summary

  • Apple sign-in and "Try the demo" buttons used <a onClick> without href, making them unreachable via Tab key
  • Added href="#" with role="button" and preventDefault so they're keyboard-focusable and behave correctly
  • Added focus-visible outline styling to all sign-in buttons so keyboard users can see which button is focused
  • Google and GitHub buttons already used href and were unaffected

Fixes #551

- Apple sign-in and demo buttons used <a onClick> without href, making
  them unreachable via Tab key. Added href="#" and role="button" with
  preventDefault so they're keyboard-focusable.
- Added focus-visible outline styling to sign-in buttons so keyboard
  users can see which button is focused.

Fixes commaai#551
@github-actions
Copy link
Copy Markdown

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

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

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.

sign in page does not work with keyboard

1 participant