Techniques for WCAG 2.0

On this page:

-

# G65: Providing a breadcrumb trail

## Applicability

All technologies.

This technique relates to:

- Success Criterion 2.4.8 (Location)
  - How to Meet 2.4.8 (Location)
  - Understanding Success Criterion 2.4.8 (Location)

## Description

A breadcrumb trail helps the user to visualize how content has been structured and how to navigate back to previous Web pages, and may identify the current location within a series of Web pages. A breadcrumb trail either displays locations in the path the user took to reach the Web page, or it displays the location of the current Web page within the organization of the site.

Breadcrumb trails are implemented using links to the Web pages that have been accessed in the process of navigating to the current Web page. They are placed in the same location within each Web page in the set.

It can be helpful to users to separate the items in the breadcrumb trailing with a visible separator. Examples of separators include ">", "|", "/", and "::".

## Examples

### Example 1

A developer searches within the Web site of an authoring tool manufacturer to find out how to create hyperlinks. The search results bring him to a Web page with specific instructions for creating hyperlinks using the authoring tool. It contains the following links to create a breadcrumb trail:

Example Code:

    Home :: Developer Center :: How To Center

In this example the breadcrumb trail does not contain the title of the current Web page, "How to create hyperlinks". That information is available as the title of the Web page.

### Example 2

A photographer's portfolio Web site has been organized into different galleries and each gallery has further been divided into categories. A user who navigates through the site to a Web page containing a photo of a Gentoo penguin would see the following breadcrumb trail at the top of the Web page:

Example Code:

    Home / Galleries / Antarctica / Penguins / Gentoo Penguin

All of the items except "Gentoo Penguin" are implemented as links. The current location, Gentoo Penguin, is included in the breadcrumb trail but it is not implemented as a link.

## Resources

No resources available for this technique.

## Related Techniques

- G63: Providing a site map
- G128: Indicating current location within navigation bars

## Tests

### Procedure

When breadcrumb trails have been implemented in a set of Web pages:

1. Navigate to a Web page.

2. Check that a breadcrumb trail is displayed.

3. Check that the breadcrumb trail displays the correct navigational sequence to reach the current location or the correct hierarchical path to the current location within the site structure.

4. For a breadcrumb trail that does not include the current location:

   1. Check that all elements in the breadcrumb trail are implemented as links.

5. For a breadcrumb trail that does include the current location:

   1. Check that all elements except for the current location are implemented as links.

   2. Check that the current location is not implemented as a link.

6. Check that all links navigate to the correct Web page as specified by the breadcrumb trail.

### Expected Results

- For all Web pages in the set using breadcrumb trails,

  - Checks #2, #3, and #6 are true.

  - Either check #4 or #5 is true.

- Top
- Contents
- Intro
- Previous: Technique G64
- Next: Technique G68