Ant Design
<breadcrumb>
- The root element that has the semantics of a navigation [required]<ordered-list>
- The list containing items and dividers [required]<list-item>
- The wrapper to items or divider content [required]Proposed HTML:
<nav>
<ol>
<li><a>Item 1</a></li>
<li aria-hidden="true">/</li>
<li><a>Item 2</a></li>
</ol>
</nav>
The Breadcrumb is composed by:
nav
equivalent wrapper that should always have aria-label
or aria-labelledby
, though this may be redundant if we provide additional context to the nav
element.list
li
items and dividers where the li
representing the item can contain anchor or other elements and the li
representing the divider should have aria-hidden="true"
aria-current=page
.