Skip to content

Add focus styles to the Remix Jam FAQ to improve accessibility #344

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

radu-cs
Copy link
Contributor

@radu-cs radu-cs commented May 29, 2025

When using the keyboard to navigate the FAQ toggles, no focus styles are shown except when the FAQ is expanded.

radu-cs and others added 2 commits May 29, 2025 14:03
When using the keyboard to navigate the FAQ toggles, no focus styles are shown except when the FAQ is expanded.
Copy link
Contributor

@brookslybrand brookslybrand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much for helping make this experience a bit better!

I went ahead and removed the outline, since we're now using custom styles for focus

I also switched to focus-visible so the styles only apply if tabbed (vs click and click off). Also added group to the summary to fix the opacity style for the icon

keyboard.yafw.balanced.mp4

@brookslybrand brookslybrand merged commit c321092 into remix-run:main Jun 9, 2025
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.

2 participants