Skip to content

Conversation

@alexandersandberg
Copy link
Member

Restoring the focus outline on the code block tabs to make it easier to navigate the website using the keyboard.

Motivation:

It's good UX and useful for accessibility reasons to show where you are on the website when navigate using the tab key. Focus outlines should not be removed.

I simply added it back by removing outline: none.

We can consider a custom outline implementation if we want, but let's at least add back the default one in the meantime.

Modifications:

Result:

Before After
CleanShot 2025-06-04 at 22 25 26 CleanShot 2025-06-04 at 22 25 02

@alexandersandberg alexandersandberg merged commit bee11ba into main Jun 6, 2025
4 checks passed
@alexandersandberg alexandersandberg deleted the alexandersandberg/add-focus-outline-to-code-block-tabs branch June 6, 2025 16:31
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.

3 participants