WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Question about links opening in new tabs/windows

for

From: Druckman,Geri
Date: Dec 3, 2013 1:53PM


Hi,

Just to bring this conversation back to topic, and to emphasize what Karl
Groves already mentioned.

Q: Does there need to be some kind of notification for users of assistive
devices
when links open in new tabs/windows, or is this a common enough action that
additional information is not needed?

Yes, there needs to be an advanced notification before opening or sending
off a user to a new tab or window, as specified in success criteria 3.2.2
"On input - Changing the setting of any user interface component does not
automatically cause a change of context unless the user has been advised
of the behavior before using the component. (Level A)" - This is an
umbrella statement for any form input fields that may generate a change,
commonly seen social media icons/buttons that take you to twitter,
Facebook etc., and just about any link that does not keep you in the same
browser window/tab you're already in.

And Karl pointed out the guidelines at
http://www.w3.org/TR/WCAG-TECHS/G201.html

Q: If this 'event' needs to be announced, what is the best method?

Best method? That really is up to you. Use additional text in the link
saying "this opens in a new window" (or tab), add a title attribute to the
link, and use it to notify the user, use CSS (as the G201 points out). Use
whatever works best for you, as long as you give the user a heads-up, and
that heads-up is accessible (and doesn't violate any other WCAG success
criteria).


--
Geri Druckman
Web Development Specialist - Accessibility
Department of Internet Services
MD Anderson Cancer Center
T 713-792-6293 | F 713-745-8134






On 12/3/13 12:58 PM, "Greg Gamble" < <EMAIL REMOVED> > wrote:

>The reason I open a new tab for an offsite link is pretty simple.
>Consider this: You're on a site with a high level of complexity, you
>click a link to a similar site, but not the original. Now you're on
>someone else's site and if your following an article you could even click
>out to another site. Now ... where is that original page I was on?? Back
>buttons don't work on every site and there may have been some redirects
>in there that you're not aware of, so now you need to open the history
>page to see if you can find that original page.
>
>Easier to open a separate tab and maintain the original site ... and yes
>it's 2013, but not everyone knows how to use a browser beyond clicking a
>link or using a back button.
>
>JMO :-)
>
>
>Greg
>
>
>-----Original Message-----
>From: <EMAIL REMOVED>
>[mailto: <EMAIL REMOVED> ] On Behalf Of Jared Smith
>Sent: Tuesday, December 03, 2013 9:02 AM
>To: WebAIM Discussion List
>Subject: Re: [WebAIM] Question about links opening in new tabs/windows
>
>Greg Gamble wrote:
>> I'd think this would be the preferred way of handling links, especially
>>for those concerned with web site marketing.
>
>I disagree. If this were "the preferred way of handling links", all
>external links would automatically open in new tabs/windows and you'd
>have to program them not to.
>
>Forcing new windows/tabs has consistently been in Jakob Nielsen's top
>mistakes lists since 1999:
>http://www.nngroup.com/articles/top-10-mistakes-web-design/
>http://www.nngroup.com/articles/the-top-ten-web-design-mistakes-of-1999/
>
>If you're concerned about folks not knowing they are leaving your site
>(it is 2013, I think folks can tell sites apart these days and they know
>how to use the Back button), I think a better approach is to use an icon
>indicator to designate external links and give the user the option of
>opening the link in a new window rather than forcing this upon them.
>
>Some other resources:
>http://uxdesign.smashingmagazine.com/2008/07/01/should-links-open-in-new-w
>indows/
>http://www.webcredible.co.uk/user-friendly-resources/web-usability/new-bro
>wser-windows.shtml
>https://managewp.com/should-you-open-links-in-new-windows
>
>Jared
>>>messages to <EMAIL REMOVED>
>