Access 10.1.1.1

From Htmlpedia
Jump to: navigation, search

Access: [10.1.1.1]: new windows require warning (_new) (Priority 2)

Cause:

Do not cause pop-ups or other windows to appear and do not change the current window without informing the user. Avoid using target attributes such as "_new" or "_blank" in anchor elements. Use the existing window as the target. Links that open new windows can be disorienting to people with cognitive and visual disabilities.

Example:

Bad
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<title>aert1.0/10.1.1</title>
</head>
<body>
<a href="newpage.html" target="_new">Opens in new window.</a>
</body>
</html>

Solution:

References: