Opening a link in a new tab is quite common (mostly with external links), but it is worth reconsidering.
The standard behavior for any link is to open in the same window. If we don't have a good argument to modify it, we should leave it as is.
If you open a link in a new tab, keep in mind:
- The user doesn't expect to leave your site. Opening a new tab means leaving it and can cause confusion.
rel="noopener"to open it properly and protect the link.
- A best practice is to use an "out arrow" icon and a hidden text (with a caption "open in new window") to mark these links.
<a href="https://conedevelopment.com" target="_blank" rel="noopener"> <span class="sr-only">Open in new window</span> Cone Development <svg class="icon">...</svg> </a>