in English
Breadcrumb
Indica pagina hodiernae situm intra hierarchiam navigationis quae sponte addit separatores per CSS.
Exemplum
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item active" aria-current="page">Home</li>
</ol>
</nav>
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="#">Home</a></li>
<li class="breadcrumb-item active" aria-current="page">Library</li>
</ol>
</nav>
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="#">Home</a></li>
<li class="breadcrumb-item"><a href="#">Library</a></li>
<li class="breadcrumb-item active" aria-current="page">Data</li>
</ol>
</nav>
Mutantur separator
Separatores automatice additi sunt in CSS per ::before
et content
. Mutando mutari possunt $breadcrumb-divider
. Munus quotum opus est ad generandos virgulas circa chordas, ergo si >
separator vis, hoc uti potes;
$breadcrumb-divider: quote(">");
Potest etiam icone SVG infixa base64 uti :
$breadcrumb-divider: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4IiBoZWlnaHQ9IjgiPjxwYXRoIGQ9Ik0yLjUgMEwxIDEuNSAzLjUgNCAxIDYuNSAyLjUgOGw0LTQtNC00eiIgZmlsbD0iY3VycmVudENvbG9yIi8+PC9zdmc+);
Separator removeri potest ab occasu $breadcrumb-divider
ad none
:
$breadcrumb-divider: none;
Accessibility
Cum medulla panis navigationem praebeat, utilem est pittacium significantem addere ut aria-label="breadcrumb"
genus navigationis in <nav>
elemento describendum, necnon applicando aria-current="page"
ultimo statuto ad significandum praesentem paginam repraesentet.
Pro magis notitia, videre ARIA Authoring Practices Guide panum exemplar .