11. Page Titles
- WCAG2 SC 2.4.2 Page Titled – Web pages have titles that describe topic or purpose.
Test Method Rationale
<title> element defines the title of the document, and is required in all HTML/XHTML documents. This test evaluates the presence of a descriptive title for the Web page.
Limitations, Assumptions, Exceptions
- Every Web page must have a descriptive title. This test always applies.
<title>element in this test is different from the title attribute used to add tooltip/extra information about an element.
- Some Web and non-Web applications and may include content that changes dynamically. In such cases, the page title should be sufficient to describe the purpose of the application.
- HTML5 specification stipulates that an HTML document should have only one
<title>element, AND the
<title>element should be a child of the
<head>element. However, in practice all modern browsers correct syntax errors related to location and nesting of the
<title>element. Therefore, user agents that rely on the Document Object Model (DOM) will encounter the
<title>in the correct location and will typically present only the first
<title>element (if there is more than one) to the user.
11.1 Test Procedure for Page Titled
Baseline Test ID: 11.1-PageTitled
<title> element for the page.
- Check that a page
<title>element is defined for the page. [SC 2.4.2]
- Check that the Page Title identifies the contents or purpose of the Web page. [SC 2.4.2]
- For pages within a Web site, check that the Page Title can be used to distinguish among the pages.
- For documents or Web applications, the name of the document or Web application would be sufficient to describe the purpose of the page.
If any of the above checks fail, then Baseline Test 11.1-PageTitled fails.
Advisory: Tips for streamlined test processes
WCAG 2.0 Techniques
- The following sufficient techniques and/or common failures were considered when developing this test procedure for this baseline requirement: