English 中文(简体)
Are there any guidelines as to when links should open in a new window?
原标题:

Do the WCAG or W3C provide any guidelines regarding when hyperlinks should open in new windows?

最佳回答

The WCAG says "Make web pages appear and operate in consistent ways," and goes on to describe how a change of context should only be initiated by a user request or it should be easily disabled.

In HTML4 and in HTML5, the process by which a link opens in a new window is described, and in both cases user agents may suppress this if so configured by the user.

However, these are really descriptions of mechanism — when the browser should and shouldn t open a window — not policy.

问题回答

It generally considered bad for accessibility to open links in new windows. These links explain a bit more about it:

There are no "standardized" guidelines, essentially it s a UI design decision. Usually when a link opens a new window, you are directing the user to another site, or you don t want the user leaving the current page, depending on process flow.

Really, with modern web capability, there are much better ways to handle UI in the browswer though than new windows.

Short Answer: No. Links should not be opened in new windows.

For the simple reason that users should be in control of how they open the links.

You can read this comprehensive article on the same.





相关问题
Is this syntatically valid for div?

<div class= clear ></div> /*which comes out to be below one in FF (seen via firebug) */ <div class= clear /> /*is this the last empty div declaration is semantically valid ? */

How to apply pagination in IFrame

I have an IFrame with a Table enclosed within it. I want to display 15 rows of a table and than a Next button must be there to move forward. How to apply pagination for IFrame?

Scala and HTML parsing

How do you load an HTML DOM document into Scala? The XML singleton had errors when trying to load the xmlns tags. import java.net._ import java.io._ import scala.xml._ object NetParse { import ...

热门标签