Make hidden skip link visible on focus (fixes #1088)#1135
Make hidden skip link visible on focus (fixes #1088)#1135demiankatz merged 4 commits intoUniversalViewer:devfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
@demiankatz, I just tested this on the Vercel app. It looks good. Thanks for the fix! |
|
Thanks for the testing, @LanieOkorodudu! I'll merge this once I also get a thumbs-up from somebody on the code itself. |
|
This looks good. A more global way would be to add |
|
I also found this modern alternative from the A11y Project. I would adapt it as: .sr-only:not(:focus-visible, :active) {
/* ... */
} |
|
@crhallberg, I tried revising the |
|
Actually, I tried a slightly different approach, and it did work for me. What do you think, @crhallberg? |
|
Yes! This CSS fix is good and will apply to any other elements that suffer this same issue! |
This fixes #1088.