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.
Ɛgzampul
We dɛn de chenj di sɛpareta
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 we de rawnd wan string, so if yu want >
as sɛpareta, 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;
Di we aw pɔsin kin ebul fɔ go de
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 .