Table of Contents for Headings, Landmarks and Links

Browser Extension

Overview

The TOC: Headings, Landmarks and Links extension provides a browser side panel to view the headings, landmark regions and links on a web page. It can be used to verify the proper use of headings and landmarks in identifying the layout and structure of a web page and testing links t see if the link text provides a good description of the target of the link. The extension uses the the OpenA11y Evaluation Library to collect information the page title, headers, landmarks and links for viewing in the side panel.

Get Extension

Features

Page Title

Screen Shot of showing location of page title

Feature

The first section of the side panel is labeled "Page Title" followed on the next line with the title of associated the web page.

Accessibility Considerations

  • Verify the title of a web page provides a description of both the website and the specific page. The specific page information should be the first part of the title followed by the website information.
  • People using screen readers hear the title first when the page is loading and using screen reader commands have the title read to them to understand which web page they are viewing.
  • Related WCAG Requirement:
  • W3C WAI Easy Checks for Page Title

Headings Tab

Screen Shot of Headings Tab selected

Feature

  • The first tab provides a tree view of the heading (e.d. the h1, h2, h3, h4 h5 and h6 elements) structure of a web page.
  • Each tree item provides the heading level and the accessible name used by screen readers.
  • The tree items are indented based on their heading level.
  • Headings level 3 and higher are initially hidden in the tree.
  • Note: Some authors add hidden or off-screen headings that are intended only for screen reader users and cannot be seen in the graphical rendering. These headings are not included in the list of headings by default. This mimics the behavior of many screen readers to reduce the number of headings users have to navigate. This feature can be disabled in options.

Accessibility Considerations

  • Descriptive: Verify headings accurately reflect the content they introduce. For example, a heading "Ingredients" should be followed by a list of ingredients, not instructions on how to prepare them.
  • Logical Hierarchy: Verify headings are used in a hierarchical order, typically starting with h1 for the main page title, followed by h2 for main sections, h3 for subsections, and so on. Avoid skipping heading levels (e.g., going directly from h1 to h3).
  • Unique Headings: Verify headings in the same sub-section are unique. This prevents confusion for users, especially those using screen readers, who rely on headings for navigation.
  • Concise and Clear: Verify headings are relatively short and to the point, avoiding overly long or complex phrasing.
  • Related WCAG Requirements:
  • W3C WAI Tutorials on Headings

Landmarks Tab

Screen Shot of Landmark Tab selected

Feature

  • The second tab provides a list view of the landmark regions of a web page.
  • Each list item provides the type of landmark region (e.g. main, navigation...) and the accessible name when defined.
  • Note: If there are more than one landmark regions of the same type without accessible names, the landmarks are not included in the list by default. This mimics the behavior of many screen readers. This feature can be disabled in options.

Accessibility Considerations

Summary

Screen Shot of showing location of summary information on the number of links, landmarks and links

Feature

The summary section provides information on the number of headings, landmarks and links on the web page.

Update Button

Screen Shot of showing location of update button

Feature

Activating the button udpates the side panel information from the current web page. This is useful when the page content updated automatically or through user interaction and the side panel does not represent the current information on the page.