Element

body

Error Type

Potential

Guidelines

Requirement

Semantic markup is used to indicate emphasized or special text.

Error

Emphasized or special text may be missing semantic markup.

Short Description

Semantic markup must be used to mark emphasized or special text so that it can be programmatically determined

How To Determine

Question Does all emphasized or special text have semantic markup?
PASS All emphasized and special text has semantic markup.
FAIL Not all emphasized and special text has semantic markup.

Steps To Check

Procedure

1. View the document text and determine if there is any emphasized or special text.
2. Determine if there is markup used to indicate the emphasized or special text.
3. Note: Semantic markup includes the elements em, strong, dfn, code, samp, kbd, var, cite, abbr, acronym, sub and sup.

Expected Result

1. Semantic markup is used to indicate emphasized or special text.

Failed Result

1. Add semantic markup to any emphasized or special text.

Examples

Pass Examples

Semantic markup is used for emphasized and special text.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=UTF-8" />
<title>ATRC Testfile - Check #249.2 - Negative</title>
</head>
<body>

<p>The following is an excerpt from the <cite>The Story of my Life</cite> by Helen Keller</p>
 <blockquote>
 <p>Even in the days before my teacher came, I used to feel along the square stiff boxwood
 hedges, and, guided by the sense of smell, would find the first violets and lilies.  
 There, too, after a fit of temper, I went to find comfort and to hide my hot face 
 in the cool leaves and grass.</p>
 </blockquote>

<p>Helen Keller said, <q>Self-pity is our worst enemy and if we yield to it, 
we can never do anything good in the world.</q></p>

<p>Beth received 1<sup>st</sup> place in the 9<sup>th</sup> grade science competition.</p>
<p>The chemical notation for water is H<sub>2</sub>O.</p>

</body>
</html>

Fail Examples

Semantic markup not used for emphasized and special text.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=UTF-8" />
<title>ATRC Testfile - Check #249.1 - Positive</title>
</head>
<body>

<p>The following is an excerpt from the The Story of my Life by Helen Keller</p>

 <p>Even in the days before my teacher came, I used to feel along the square stiff boxwood
 hedges, and, guided by the sense of smell, would find the first violets and lilies.  
 There, too, after a fit of temper, I went to find comfort and to hide my hot face 
 in the cool leaves and grass.</p>


<p>Helen Keller said, Self-pity is our worst enemy and if we yield to it, 
we can never do anything good in the world.</p>

<p>Beth received 1st place in the 9th grade science competition.</p>
<p>The chemical notation for water is H2O.</p>

</body>
</html>

English | German | Italiano


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