Access 7.5.1.1

From Htmlpedia
Jump to: navigation, search

Access: [7.5.1.1]: remove auto-redirect (Priority 2)

Cause:

Avoid using markup that automatically redirects visitors to other web documents. People with limited vision or cognitive disabilities often don't have sufficient time to read a document that includes an auto-redirect command. Instead, create a link within the document that allows clients to advance to the next page at their own discretion.

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>Test 7.5.1</title>
<meta  http-equiv="refresh" content="http://www.foo.com/bar.html" />
</head>
<body>
</body>
</html>

Solution:

References: