Access: [10.1.1.2]: new windows require warning (_blank) (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 "_blank" or "_new" 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:
 | <!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="_blank">Opens in new window.</a>
</body>
</html>
|
Solution:
References: