Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upAvoid target="_blank" links #1958
Comments
andrewdavidwong
assigned
bnvk
May 5, 2016
andrewdavidwong
added
P: minor
C: website
UX
labels
May 5, 2016
andrewdavidwong
added this to the
Documentation/website milestone
May 5, 2016
andrewdavidwong
unassigned
bnvk
Sep 16, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
|
I'll just replace these as I come across them in the future. |
andrewdavidwong
closed this
Oct 15, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
andrewdavidwong commentedMay 5, 2016
It's generally considered a best practice to avoid
target="_blank"links because such links take control away from the user. Rather than user being allowed to decide whether to open a link in the current window/tab or a new window/tab,target="_blank"eliminates the former option, forcing the link to be opened in a new window/tab.See, for example:
It may even be a security issue:
I've noticed that almost all of the external links on the Qubes website use
target="_blank". I recommend abandoning this practice.