Breadcrumb
A navigation trail. Mark the current page with aria-current="page" on the last item.
<nav class="re-breadcrumb" aria-label="Breadcrumb">
<ol>
<li><a href="#">Home</a></li>
<li><a href="#">Components</a></li>
<li><a aria-current="page">Breadcrumb</a></li>
</ol>
</nav> Accessibility
Section titled “Accessibility”- Keyboard — native links:
Tabmoves to each link,Enteractivates it. The current page’s<a>has nohref, so it is not focusable or clickable. - Focus — links show a visible
:focus-visiblering (--re-shadow-focus) and have a rounded corner so the ring fits the link. - Semantics — the
<nav aria-label="Breadcrumb">exposes a landmark named “Breadcrumb”; the<ol>is announced as an ordered list reflecting trail order. The last item carriesaria-current="page"so assistive tech announces it as the current page. - Notes — the
/separators are decorative, generated by CSS (li + li::before), so they are never read as content or copied into the accessibility tree. See the accessibility guide.