You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tab on the page until the focus is set on the logo; OR using dev tools, toggle :focus-visible on the site-title anchor
Expected Result: the outline is fully visible
Actual Result: only the corners of the outline are visible
I believe the reason for this is due to the title-wrapper having overflow: hidden. In the repro below, the outline is forced to simplify and mirror :focus-visible. Uncommenting the title-wrapper CSS to remove the overflow: hidden results in the outline being fully visible.
Note
For some reason, when initially loading the project on stackblitz, an error The collection "docs" does not exist or is empty. Ensure a collection directory with this name exists. is encountered and visible in the console. Terminating and restarting npm run dev resolves the issue. I'm unable to reproduce this behavior locally so not sure what is going on but you will need to cancel and restart to view the site in the repro.
What version of
starlight
are you using?0.29.3 / 0.30.1
What version of
astro
are you using?4.16.17 / 5.0.5
What package manager are you using?
npm
What operating system are you using?
linux
What browser are you using?
chrome, firefox
Describe the Bug
When the
site-title
anchor is:focus-visible
, the outline is not completely visible.Steps to reproduce
:focus-visible
on thesite-title
anchorI believe the reason for this is due to the
title-wrapper
havingoverflow: hidden
. In the repro below, the outline is forced to simplify and mirror:focus-visible
. Uncommenting the title-wrapper CSS to remove theoverflow: hidden
results in the outline being fully visible.Note
For some reason, when initially loading the project on stackblitz, an error
The collection "docs" does not exist or is empty. Ensure a collection directory with this name exists.
is encountered and visible in the console. Terminating and restartingnpm run dev
resolves the issue. I'm unable to reproduce this behavior locally so not sure what is going on but you will need to cancel and restart to view the site in the repro.Link to Minimal Reproducible Example
https://stackblitz.com/edit/withastro-starlight-rvfvgkfb
Participation
The text was updated successfully, but these errors were encountered: