Skip to content
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

Fix focus ring glitch on API autosummary "[source]" link #1778

Merged
merged 1 commit into from
Apr 24, 2024

Conversation

gabalafou
Copy link
Collaborator

@gabalafou gabalafou commented Apr 19, 2024

See code comments for motivation and explanation.

Before

The following screenshot shows how the focus ring bug looks in Chrome:

After

The following screenshot shows the focus ring fixed in Chrome:

Copy link
Collaborator Author

@gabalafou gabalafou left a comment

Choose a reason for hiding this comment

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

done self-reviewing

@@ -111,6 +111,21 @@ span.highlighted {
background-color: var(--pst-color-target);
}

dl > dt > a:has(.viewcode-link) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

If you know a way to improve the safety of this selector, please let me know!

@trallard trallard self-requested a review April 24, 2024 09:46
@trallard trallard merged commit 2f99c71 into pydata:main Apr 24, 2024
19 checks passed
@gabalafou gabalafou deleted the fix-focus-ring-source-link branch April 24, 2024 12:56
@gabalafou gabalafou added the tag: accessibility Issues related to accessibility issues or efforts label Apr 25, 2024
gabalafou added a commit to gabalafou/pydata-sphinx-theme that referenced this pull request Apr 29, 2024
ivanov pushed a commit to ivanov/pydata-sphinx-theme that referenced this pull request Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tag: accessibility Issues related to accessibility issues or efforts
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants