Good accessibility usually starts with clear words and the right HTML elements, not a large amount of extra code.
What You Need to Know
Breadcrumbs tell visitors where the current page sits in a site's structure. Use a labeled navigation region and aria-current=page on the current item, rather than presenting it as a link to itself.
Try the Example
Take a look at the example. We’ll explain the important lines right below it.
<nav aria-label="Breadcrumb">
<ol>
<li><a href="/">Home</a></li>
<li><a href="/guides">Guides</a></li>
<li aria-current="page">HTML Forms</li>
</ol>
</nav>
Let’s Read the Code
- <nav>: Navigation elements identify groups of important links.
- aria-label: Aria-label supplies an accessible name when a visible one is not available.
- href: Href is the URL to a related resource or destination.
Read the named elements and attributes together. They explain how the browser connects this feature to the rest of the page.
What Happens in the Browser?
Try this with Tab and Shift+Tab. If you can, inspect the accessibility tree too; appearance alone does not tell the whole story.
What does assistive technology receive? The example includes aria-label, aria-current. These relationships can explain names, states, or descriptions when used correctly. They do not automatically move focus, listen for clicks, or create keyboard handling.
Your Turn
Use Tab and Shift+Tab to visit the controls, then read their labels aloud. Is the purpose of each one clear?
Common Beginner Mistakes
- Judging the page only by how it looks, without checking its meaning and keyboard behavior.
- ARIA changes what assistive technology is told; it does not automatically add keyboard controls, visual styling, or JavaScript behavior.
Key Takeaways
- Breadcrumbs tell visitors where the current page sits in a site's structure.
- <nav>: Navigation elements identify groups of important links.
- A meaningful HTML element is usually a stronger starting point than adding an ARIA role to a generic div. Also check what happens using only the keyboard.