Ask HN: Why doesn't Hacker News open links in a new tab?
1–10 of 38 posts
Re: Ask HN: Why doesn't Hacker News open links in a new tab?
#2If a link does not set target="_blank", you can always choose how it will be opened: in this tab, or in a new one, with a left or middle click.
If it has target="_blank", it'll always open in a new tab, even if you don't want it to, and there's no visual indicator that this parameter has been set.
I never set target="_blank" as a general rule for this reason.
Re: Ask HN: Why doesn't Hacker News open links in a new tab?
#3Re: Ask HN: Why doesn't Hacker News open links in a new tab?
#4Re: Ask HN: Why doesn't Hacker News open links in a new tab?
#5Use Ctrl+click or Right-click > Open in new tab ? It's not complicated.
Re: Ask HN: Why doesn't Hacker News open links in a new tab?
#6Re: Ask HN: Why doesn't Hacker News open links in a new tab?
#7target="_blank" is an anti-user design choice. If a link does not set target="_blank", you can always choose how it will be opened: in this tab, or in a new one, with a left or middle click. If it has target="_blank", it'll always open in a new tab, even if you don't want it to, and there's no visual indicator that this parameter has been set. I never set target="_blank" as a general rule for this reason.
The relevant WCAG 2.0 information: https://www.w3.org/TR/WCAG20-TECHS/G201.html
PowerMapper has some more information (not affiliated, just a happy customer): https://www.powermapper.com/tests/screen-readers/navigation/...
Re: Ask HN: Why doesn't Hacker News open links in a new tab?
#8Re: Ask HN: Why doesn't Hacker News open links in a new tab?
#9Also, CTRL and left arrow will return you back to the HN. It's not that big of a deal? Also, it's a good thing as it teaches you some good habits. Why depend on a site to open links in new tabs? Do it yourself. That way you force consistent behavior across all websites/links.
Re: Ask HN: Why doesn't Hacker News open links in a new tab?
#10Why do you want to remove my choice in the matter?