views:

314

answers:

12

I'm a bit confused whether or not I should make the links on my website that point externally target="_blank". Does this practice negatively affect the usability of your site (i.e. breaking the "back button trail")? Is it commonly found annoying by most users? Is it acceptable in some situations but not others?

I want to make an enjoyable user experience for all of my sites and would hate to do something that annoys my users. What is your experience/advice on the matter?

+5  A: 

MHO: just link it. If I want to open the link in a new window, I can do it myself.

Graeme Perrow
+1 that's what I was kind of thinking. Plus it would be hard to standardize the _blank across every single external link.
Robert Greiner
+1 I agree.. I'd rather decide how to open a link myself.
fudgey
+2  A: 

Leave the target attribute out and let your users decide if they want to open the link in a new window. If you want to warn the user that the link will take them away from your site, you can implement a page that makes it clear (US Government sites do this for instance).

Will Bickford
+1 giving fair warning to the user would eliminate the element of surprise and might be less annoying to them. Thank you
Robert Greiner
I really hate it when I'm warned of leaving a site by an intermediate page. It takes additional time and thought: I have to look at the intermediate page, process why exactly I'm not where I thought I was going, and then figure out how to move on as fast as possible.
Matt Ball
Personally I prefer not using the intermediate page as well - but if your customers require some form of notification it seems like the least evil option at this point.
Will Bickford
Please don't add an intermediate page! If you insist on adding one, make it timed! So while I'm smashing my face into the keyboard it redirects...and when I look up I'll be suprised and happy that it's gone.
fudgey
lol /facesmash good imagery!
Will Bickford
+7  A: 

I've read plenty of usability documentation suggesting that end users resent being forced to open a link in a new window. I tend to agree, if I want a new window I will right click and select whether I want the same window, new tab, or new window.

However, the marketing types believe that opening an external link in a new window will keep the end user on your site because they will eventually close the new window and wind up back on your site.

EDIT: Best information I've read on this subject is in Steve Krug's book "Don't Make Me Think" (website).

Mayo
+1 for the reference to "Don't Make Me Think"
ChrisF
+1 thanks for the book link, I'll have to check that out.
Robert Greiner
+1  A: 

It depends, typically for links to additional content on your site, I would not use the _blank. Anytime I link to off-site content I use the _blank to keep a page open for my site. That way when the user is done on the external site they see my site again.

With modern browsers this usually opens a new tab. I expect this behavior, but usually I control click to get a new tab/window when I want to keep my place.

That being said, for a web application, I'd always leave the target attribute off so the user can decide to open a new window or not.

Nate Bross
Thank you, so do you find it annoying when you are re-directed into a new browser window/tab when you click on a link.
Robert Greiner
Personally, when I click a link that takes me off-site, I expect it to be a new window/tab. If the content is on-site I expect it to stay in the same window/tab.
Nate Bross
+2  A: 

I agree that as a user, I prefer to have the choice as to whether or not I open a link in a new window. Unfortunately, many users don't realize that they have that choice, and will lose your website when they click a link to an external site. I tend to err on the side of caution and make external links open in new windows, but it depends on your audience, really.

orthod0ks
"(...) many users don't realize that they have that choice, and will lose your website when they click a link to an external site." I agree: it depends on your audience. I've seen some people disliking new opened windows (usually they just use one window, without maximizing it), and other disliking why they weren't opened in new windows (this happened to me in a heavy-ajax website I was in, I clicked in a link without explicity saying I wanted in a new windows, and lost where I was when I was back). http://www.netvibes.com to me is a good example of website that uses target="blank" properly.
GmonC
+1  A: 

Here is a nice write up for not opening links in a new window/tab from Smashing Magazine. Essentially, it is better to give users control over link behavior than to decide for them.

Bryan Denny
+1 nice link...
Robert Greiner
+1  A: 

Usability guru (?) Jakob Nielsen suggests not opening new browser windows (It's 10 years old though).

Quote:

Opening up new browser windows is like a vacuum cleaner sales person who starts a visit by emptying an ash tray on the customer's carpet. Don't pollute my screen with any more windows, thanks (particularly since current operating systems have miserable window management). If I want a new window, I will open it myself!

Designers open new browser windows on the theory that it keeps users on their site. But even disregarding the user-hostile message implied in taking over the user's machine, the strategy is self-defeating since it disables the Back button which is the normal way users return to previous sites. Users often don't notice that a new window has opened, especially if they are using a small monitor where the windows are maximized to fill up the screen. So a user who tries to return to the origin will be confused by a grayed out Back button.

And, every rule has an exception: He suggests document like PDF or DOC that are opened in the browser should be opened in new windows, to avoid confusion.

Kobi
+1 just because it's 10 years old doesn't mean it's useless :P Jakob is very insightful.
Robert Greiner
+6  A: 

Most people will say to leave it out, all for very good reasons.

Most people will not tell you this: watch how different people browse using their computer. Sit down for an hour with an average user: a teacher, a piano player, a retired Vet, a stay-at-home mother, or a mechanic. Watch how people who are disabled browse.

You will discover that you should not:

  • Open new windows (it is highly confusing)
  • Have menus disappear immediately after leaving them (requires fine motor control)
  • Use excessive numbers of links on a page (also confusing)
  • Provide too many features and options
  • Use Flash animation
  • Be overly clever

You will discover that you should:

  • Be clear and concise
  • Be simple
  • Keep the user on the same page
  • Avoid frustrating the end user at any cost
  • Create an extremely responsive website

And much more.

Dave Jarvis
+1 that's a really good point, all SO users won't have these kind of problems, but we are a very small subset of internet users.
Robert Greiner
A: 

What people hate is opening links in a new window and not knowing that it's coming. For each external link, go ahead and use target="_blank", but add an icon that suggests you're opening a new window. Wikipedia's double square icon is a good example of this, so you can just grab that from them and capitalize on the literacy that users already have there.

What's great about a 'new window' icon is that users then have the option of opening in a new tab instead, which isn't so obtrusive. I'd also say that many of those vehemently arguing against your proposed approach are looking at it strictly from an aesthetic/usability standpoint, and not in terms of business requirements or the functionality of your own application.

If you think that you or your users stand to gain from keeping users on your site and opening external links in a new window, you get to make the final call on that. Just be respectful about it.

Robert Elwell
+1  A: 

It's worth mentioning that target isn't valid in XHTML anyway.

nickf
You should use onclick="window.open(...); return false;" instead.
Natim
A: 

You need to consider what users are doing in your window, when deciding how links should behave. If I could potentially lose a lot of work by navigating to another page, then I might want links to open in new windows, or give me an option to cancel.

For example, if I'm composing a message in Gmail, most of the links show a confirmation dialog, so I don't accidentally lose my work. And the links on top, which go to other applications like Calendar, open in new windows. I think this is a good example to follow.

JW
You could use a nice Javascript popup to ask them.Are you sure ? Do you want to open in this window ? In a new windows ? Do you want to cancel ?
Natim
+1  A: 

I think it depends on the situation. For a simple website with just a few links like about us, contact, services etc., I will not open new window. It is easy for the user to know which page they are at and which page they have just looked at. For a site that has a listing summary page which links to hundreds or even thousands individual listing page. I would prefer to open new window for each listing. It allows the users to compare service/price.... on each opened page. Plus the user doesn't have to click the "back" button to return to the summary page and wait for the same page to load again.