HTML and XHTML
This technique relates to:
- Success Criterion 2.4.5: Multiple Ways (Advisory)
- Success Criterion 2.4.8: Location (Sufficient as a way to meet G127: Identifying a Web page's relationship to a larger collection of Web pages)
The objective of this technique is to describe how the
link element can
provide metadata about the position of an HTML page within a set of Web pages or can
assist in locating content with a set of Web pages. The value of the
attributes indicates what type of relation is being described, and the
attribute provides a link to the document having that relation. Multiple
link elements can provide multiple relationships. Several values of
rel are useful:
- Start: Refers to the first document in a collection of documents.
- Next: Refers to the next document in a linear sequence of documents.
- Prev: Refers to the previous document in an ordered series of documents.
- Contents: Refers to a document serving as a table of contents.
- Index: Refers to a document providing an index for the current document.
A Web page for Chapter 2 of an on-line book might contain the following links
<link rel="Contents" href="Contents.html" title="Table of Contents" /> <link rel="Index" href="Index.html" title="Index" /> <link rel="Prev" href="Chapter01.html" title="01. Why Volunteer?" /> <link rel="Next" href="Chapter03.html" title="03. Who Volunteers?" />
Resources are for information purposes only, no endorsement implied.
For a Web page that is within a sequence or collection of Web pages:
- Check that all
linkelements pertaining to navigation occur in the
headsection of the document.
linkelement in the
headsection of the document which pertains to navigation, check that it contains at least:
relattribute identifying the link type
- a valid
hrefattribute to locate the appropriate resource
- All of the checks above are true.