Source

Akara akara

Tọkasi ipo oju-iwe lọwọlọwọ laarin awọn ilana lilọ kiri ti o ṣafikun awọn oluyapa laifọwọyi nipasẹ CSS.

Akopọ

Awọn oluyapa ti wa ni afikun laifọwọyi ni CSS nipasẹ ::beforeati 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>

Wiwọle

Níwọ̀n bí búrẹ́dì ń pèsè ìṣíkiri kan, ó jẹ́ ìmọ̀ràn tí ó dára láti ṣàfikún aami kan tí ó nítumọ̀ gẹ́gẹ́ bí aria-label="breadcrumb"láti ṣàpéjúwe irú ìṣàwárí tí a pèsè nínú <nav>èròjà náà, àti fífi ohun kan aria-current="page"sí ohun kan tí ó gbẹ̀yìn ti àgbékalẹ̀ láti fi hàn pé ó dúró fún ojú-ewé tí ń lọ lọ́wọ́.

Fun alaye diẹ ẹ sii, wo Awọn iṣe Aṣẹ alaṣẹ WAI-ARIA fun apẹrẹ akara akara .