Ekikuta ky’omugaati
Laga ekifo omuko oguliwo kati munda mu nsengeka y'okutambuliramu eyongerako ebyawula mu ngeri ey'otoma nga eyitira mu CSS.
Eky'okulabirako
<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>
Okukyusa eky’okwawula
Ebyawula byongerwako mu CSS mu ngeri ey'otoma okuyita mu ::before
ne content
. Ziyinza okukyusibwa nga zikyusa $breadcrumb-divider
. Omulimu gw'okujuliza gwetaagibwa okukola ebijuliziddwa okwetoloola olunyiriri, kale bw'oba oyagala >
ng'okwawula, osobola okukozesa kino:
$breadcrumb-divider: quote(">");
Era kisoboka okukozesa akabonero ka SVG akateekeddwamu base64 :
$breadcrumb-divider: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4IiBoZWlnaHQ9IjgiPjxwYXRoIGQ9Ik0yLjUgMEwxIDEuNSAzLjUgNCAxIDYuNSAyLjUgOGw0LTQtNC00eiIgZmlsbD0iY3VycmVudENvbG9yIi8+PC9zdmc+);
Ekyawula kiyinza okuggyibwawo ng'oteeka $breadcrumb-divider
ku none
:
$breadcrumb-divider: none;
Okutuuka ku bantu
Okuva breadcrumbs bwe ziwa navigation, kirungi okwongerako akabonero ak'amakulu nga aria-label="breadcrumb"
okunnyonnyola ekika ky'okutambuliramu ekiweereddwa mu <nav>
elementi, wamu n'okukozesa an aria-current="page"
ku kintu ekisembayo ekya set okulaga nti kikiikirira omuko oguliwo kati.
Okumanya ebisingawo, laba ARIA Authoring Practices Guide breadcrumb pattern .