Source

Breadcrumb

Onyesha eneo la ukurasa wa sasa ndani ya daraja la urambazaji ambalo huongeza vitenganishi kiotomatiki kupitia CSS.

Muhtasari

Vitenganishi huongezwa kiotomatiki katika CSS kupitia ::beforena content.

<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>

Ufikivu

Kwa kuwa breadcrumbs hutoa urambazaji, ni vyema kuongeza lebo yenye maana kama vile aria-label="breadcrumb"kuelezea aina ya urambazaji iliyotolewa katika <nav>kipengele, pamoja na kutumia aria-current="page"kipengee cha mwisho cha seti ili kuonyesha kuwa inawakilisha ukurasa wa sasa.

Kwa maelezo zaidi, angalia Mbinu za Uandishi za WAI-ARIA kwa muundo wa breadcrumb .