Element

title

Error Type

Known

Guidelines

  • BITV 1.0 (Level 2)
    Guideline GroupLevel 1
    Guideline Subgroup13.2 Provide metadata to add semantic information to pages and sites.
  • WCAG 1.0 (Level AA)
    Guideline GroupPriority 2
    Guideline Subgroup13.2 Provide metadata to add semantic information to pages and sites.
  • WCAG 1.0 (Level AAA)
    Guideline GroupPriority 2
    Guideline Subgroup13.2 Provide metadata to add semantic information to pages and sites.
  • WCAG 2.0 (Level A)
    Guideline Group2.4 Navigable: Provide ways to help users navigate, find content, and determine where they are.
    Guideline SubgroupSuccess Criteria 2.4.2 Page Titled (A)
  • WCAG 2.0 (Level AA)
    Guideline Group2.4 Navigable: Provide ways to help users navigate, find content, and determine where they are.
    Guideline SubgroupSuccess Criteria 2.4.2 Page Titled (A)
  • WCAG 2.0 (Level AAA)
    Guideline Group2.4 Navigable: Provide ways to help users navigate, find content, and determine where they are.
    Guideline SubgroupSuccess Criteria 2.4.2 Page Titled (A)

Requirement

title contains text.

Error

title element is empty.

Short Description

title element content cannot be empty or whitespace.

How To Repair

Add text to the title element.

Steps To Check

Procedure

1. Check the contents of the title element.
2. Note: For this test the term "contains text" excludes whitespace.
The title element must contain at least one non-whitespace character.

Expected Result

1. title contains text.

Failed Result

1. Add text to the title element.

Examples

Pass Examples

title element has content.
<?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>OAC Testfile - Check #51 - Negative</title>
</head>
<body>
</body>
</html>

Fail Examples

title element is empty.
<?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></title>
</head>
<body>
</body>
</html>
Web site engine's code is copyright © 2023
Inclusive Design Institute