Skip to content

Adjust css of masonry view so keyboard navigation works and links are visible on focus #161

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

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

corylown
Copy link
Contributor

@corylown corylown commented Dec 6, 2024

Previously none of the results were keyboard navigable in masonry view because the linked title was set to display: none and the linked thumbnails have tabindex=-1. This adjust the CSS so the linked titles are hidden from view but present in the DOM and navigable by keyboard. The title displays when hovering over the thumbnail or when the title area gets focus.

@corylown corylown marked this pull request as ready for review December 9, 2024 18:37
@corylown corylown force-pushed the masonry-keyboard-nav branch from b11cfa9 to aa22136 Compare December 10, 2024 16:33
@corylown corylown merged commit 1c4b633 into main Dec 10, 2024
6 of 7 checks passed
@corylown corylown deleted the masonry-keyboard-nav branch December 10, 2024 16:43
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