Are internal links that open in a new tab considered external anchors? #1645
-
Hi team, looking for clarification on what we consider an external anchor--I've seen the icon used before for pages that will open in a new tab. Is that behavior is implied by the icon? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi Rosemary, thanks for asking! When the link is for an external page (not in the same domain), our Anchor component opens that in a new tab by default, though that functionality can be overriden. The icon added from the If you have a link that stays in the same domain (not an external link) but want it to open in a new tab, we'd recommend stating that in/around the anchor, depending on the context it's in. For example, having the anchor say "[Link] (opens in a new tab)". Hopefully that distinction helps. Feel free to give more detail about your specific situation if you'd like more support! |
Beta Was this translation helpful? Give feedback.
Hi Rosemary, thanks for asking!
When the link is for an external page (not in the same domain), our Anchor component opens that in a new tab by default, though that functionality can be overriden. The icon added from the
showExternal
prop is used for indicating you'll be going to an external page.If you have a link that stays in the same domain (not an external link) but want it to open in a new tab, we'd recommend stating that in/around the anchor, depending on the context it's in. For example, having the anchor say "[Link] (opens in a new tab)".
Hopefully that distinction helps. Feel free to give more detail about your specific situation if you'd like more support!