O falaoamata
Fa'ailoa le tulaga o le itulau o lo'o i ai nei i totonu o se fa'atonuga fa'ata'ita'iga e otometi lava ona fa'aopoopoina seseparators e ala i le CSS.
Faataitaiga
<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>
Suia le vavae
Separators e otometi lava ona faaopoopo i le CSS e ala i ::before
ma content
. E mafai ona suia e ala i le suia $breadcrumb-divider
. O le upusii galuega e manaʻomia e faʻatupu ai upusii i luga o se manoa, o lea afai e te manaʻo >
e vavae ese, e mafai ona e faʻaogaina lenei:
$breadcrumb-divider: quote(">");
E mafai fo'i ona fa'aoga se fa'ailoga SVG fa'apipi'i base64 :
$breadcrumb-divider: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4IiBoZWlnaHQ9IjgiPjxwYXRoIGQ9Ik0yLjUgMEwxIDEuNSAzLjUgNCAxIDYuNSAyLjUgOGw0LTQtNC00eiIgZmlsbD0iY3VycmVudENvbG9yIi8+PC9zdmc+);
E mafai ona aveese le separator e ala i le seti $breadcrumb-divider
i none
:
$breadcrumb-divider: none;
Avanoa
Talu ai ona o le falaoa e maua ai se folauga, o se manatu lelei le faʻaopoopoina o se igoa anoa e pei o aria-label="breadcrumb"
le faʻamatalaina o le ituaiga o faʻataʻitaʻiga o loʻo tuʻuina atu i le <nav>
elemene, faʻapea foʻi ma le faʻaogaina aria-current="page"
i le mea mulimuli o le seti e faʻaalia ai o loʻo faʻatusalia le itulau o loʻo iai nei.
Mo nisi fa'amatalaga, va'ai le ARIA Authoring Practices Guide pattern breadcrumb .