Skip to content

Latest commit

 

History

History
41 lines (32 loc) · 1.72 KB

File metadata and controls

41 lines (32 loc) · 1.72 KB
category navigation_focus
category_description Provide clear navigation and descriptive links and headings.

Overview

Good navigation helps users find content quickly. Descriptive page titles, headings, link text and multiple ways to locate pages improve the user experience.

Relevant WCAG 2.1 success criteria

Technical guidance

  • Use unique, descriptive titles and headings that match the topic or purpose.
  • Write meaningful link text; avoid “click here”.
  • Provide a search, site map or table of contents as alternative navigation.
  • Indicate the current location using breadcrumbs or aria-current on navigation links.

Code example

Breadcrumb navigation

<nav aria-label="Breadcrumb">
  <ol>
    <li><a href="/">Home</a></li>
    <li><a href="/articles">Articles</a></li>
    <li aria-current="page">Accessibility</li>
  </ol>
</nav>

Descriptive link

<p>Read more about <a href="/a11y-testing">accessibility testing</a>.</p>