Access 6.1.1.2

From Htmlpedia
Jump to: navigation, search

Access: [6.1.1.2]: style sheets require testing (style element) (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</title>
</head>
<body>
<style type="text/css">
p {text-align:justify}
</style>
</body>
</html>

Solution:

References: