Access 3.5.2.1

From Htmlpedia
Jump to: navigation, search

Access: [3.5.2.1]: potential header (bold) (Priority 2)

Cause:

If a lead sentence or paragraph is italicized consider converting it into a header. If a text element occurs within a paragraph and the paragraph is less than ten words containing only text items or formatting elements it is also potentially a header.

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/3.5.2</title>
</head>
<body>
<p><strong>This may be a header.</strong></p>
</body>
</html>

Solution:

References: