Links #3189
Replies: 2 comments
-
Thanks for your feddback 🙌 The current behavior is actually an intentional design decision. We avoid opening links in new tabs by default as shown in various UX researches like this one from the Nielsen Norman Group. In general, it's best to avoid forcing a user to open something in a new tab.
Not enforcing a new tab allows users to choose how they want to interact with the content, e.g. a basic click = same window, cmd/ctrl + click or middle click = new window/tab. Thanks to Starlight component overrides, users can still explicitly opt-in to open links in new tabs even though we do not recommend it as the default behavior. |
Beta Was this translation helpful? Give feedback.
-
Ok |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
What version of
starlight
are you using?0.34.3
What is your idea?
For the hero in the frontmatter of a starlight page, actions with an external icon that lead to a https or http link to open it in a new tab instead of the same tab.
Why is this feature necessary?
May be useful for people who still want to look at the page and the source code
Do you have examples of this feature in other projects?
https://astro.build/ look at the github icon and click on it
Participation
Beta Was this translation helpful? Give feedback.
All reactions