Bredkrɔm we dɛn kin yuz fɔ mek bred
Sho usay di pej de naw insay wan nevigishɔn hayari we de ad sɛpareta dɛn ɔtomɛtik wan bay CSS.
Separatɔ dɛn kin ad ɔtomɛtik wan insay CSS tru ::before
ɛn content
. Dɛn kin chenj dɛn bay we dɛn chenj $breadcrumb-divider
dɛn . Di kot fɛnshɔn nid fɔ jenarayz di kot dɛn rawnd wan string, so if yu want >
as sɛparet, yu kin yuz dis:
$breadcrumb-divider: quote(">");
I pɔsibul bak fɔ yuz wan base64 ɛmbaded SVG aykɔn :
$breadcrumb-divider: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4IiBoZWlnaHQ9IjgiPjxwYXRoIGQ9Ik0yLjUgMEwxIDEuNSAzLjUgNCAxIDYuNSAyLjUgOGw0LTQtNC00eiIgZmlsbD0iY3VycmVudENvbG9yIi8+PC9zdmc+);
Yu kin pul di sɛpareta bay we yu sɛt $breadcrumb-divider
am to none
:
$breadcrumb-divider: none;
Bikɔs bred kram dɛn de gi yu nevigishɔn, i fayn fɔ ad wan lɛbl we gɛt minin lɛk aria-label="breadcrumb"
fɔ diskrayb di kayn nevigishɔn we dɛn gi na di <nav>
ɛlimɛnt, ɛn bak fɔ yuz wan aria-current="page"
to di las tin na di sɛt fɔ sho se i de sho di pej we de naw.
Fɔ no mɔ, si di WAI-ARIA Authoring Practices fɔ di bredkrɔm patɛn .