Element

body

Error Type

Potential

Guidelines

Requirement

Abbreviations must be marked with abbr element.

Error

Abbreviations may not be marked with abbr element.

Short Description

If body element content is greater than 10 characters (English) this error will be generated.

Rationale

When abbreviations and natural language changes are not identified, they may be indecipherable when machine-spoken or brailled.

How To Determine

Question Are there any abbreviations in the document that are not marked with the abbr element?
PASS All abbreviations are marked with the abbr element.
FAIL Not all abbreviations are marked with the abbr element.

Steps To Check

Procedure

1. Check the document for any text abbreviations.
2. If an abbreviation is found, check if it is properly marked with the abbr element.

Expected Result

1. All abbreviations are expected to be marked with a valid abbr element.

Failed Result

1. Mark all abbreviations with a valid abbr element.

Examples

Pass Examples

body text is less than 10 characters.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<title>OAC Testfile - Check #98 - Positive</title>
</head>
<body>
<p>hello</p>
</body>
</html>

Fail Examples

body has text with unmarked abbreviation.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<title>OAC Testfile - Check #98 - Positive</title>
</head>
<body>
<p>Come visit the ATRC.</p>
</body>
</html>

English | German | Italiano


Web site engine's code is copyright © 2011
Inclusive Design Institute
Web Service API