Access 6.1.1.1

From Htmlpedia
Jump to: navigation, search

Access: [6.1.1.1]: style sheets require testing (link) (Priority 1)

Cause:

If style sheets are used for formatting content and/or controlling page layout, be sure the information remains accessible when style sheets are disabled or not supported. Include a non-visual method of presenting the information and organize style sheets logically.

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/6.1.1 - This page uses a stylesheet</title>
<link rel="stylesheet" type="text/css" href="http://www.w3.org/StyleSheets/TR/W3C-WD">
</head>
<body>
</body>
</html>

Solution:

References: