Source

Imvuthuluka yesinkwa

Bonisa indawo yekhasi lamanje phakathi kwesigaba sokuhamba esingeza izihlukanisi ngokuzenzakalelayo nge-CSS.

Uhlolojikelele

Izihlukanisi zengezwa ngokuzenzakalelayo ku-CSS nge- ::before.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>

Ukufinyeleleka

Njengoba i-breadcrumbs ihlinzeka ngokuzulazula, kuwumqondo omuhle ukwengeza ilebula enengqondo njengokuchaza aria-label="breadcrumb"uhlobo lokuzulazula olunikezwe <nav>kusici, kanye nokusebenzisa aria-current="page"okuthi entweni yokugcina yesethi ukukhombisa ukuthi imele ikhasi lamanje.

Ukuze uthole ulwazi olwengeziwe, bona Imikhuba Yokugunyaza ye-WAI-ARIA yephethini ye-breadcrumb .