Source

Kuboneka

Incamake ngufi y'ibiranga Bootstrap n'imbogamizi zo gukora ibintu byoroshye.

Bootstrap itanga uburyo bworoshye-bwo gukoresha uburyo bwateguwe bwuburyo bwateguwe, ibikoresho byimiterere, hamwe nibikoresho bikorana, byemerera abitezimbere gukora imbuga za porogaramu na porogaramu zishimishije cyane, zikungahaye cyane, kandi zishobora gusohoka hanze.

Incamake n'imbibi

Muri rusange kugerwaho kwumushinga uwo ariwo wose wubatswe na Bootstrap biterwa ahanini nigice cyaranze umwanditsi, imyandikire yinyongera, hamwe ninyandiko bashizemo. Ariko, mugihe ibyo byashyizwe mubikorwa neza, bigomba kuba bishoboka rwose gukora imbuga na porogaramu hamwe na Bootstrap yujuje WCAG 2.0 (A / AA / AAA), Igice cya 508 hamwe nibipimo bisa nibisabwa.

Ikiranga imiterere

Imyandikire ya Bootstrap nuburyo bishobora gukoreshwa muburyo butandukanye bwo kwerekana ibimenyetso. Iyi nyandiko igamije guha abitezimbere ingero nziza zimenyerewe kugirango berekane imikoreshereze ya Bootstrap ubwayo no kwerekana ibimenyetso bikwiye, harimo nuburyo ibibazo bishobora kugerwaho byakemuka.

Ibice bikorana

Ibikoresho bya Bootstrap bikora-nkibiganiro byuburyo, ibiganiro byamanutse hamwe nibikoresho byabigenewe-byashizweho kugirango bikore, abakoresha imbeba na clavier. Binyuze mugukoresha WAI bijyanye - Inshingano za ARIA nibiranga, ibi bice nabyo bigomba kumvikana kandi bigakoreshwa hifashishijwe tekinoroji ifasha (nkabasoma ecran).

Kuberako ibice bya Bootstrap byateguwe kugirango bibe rusange, abanditsi bashobora gukenera gushyiramo izindi nshingano za ARIA nibiranga, hamwe nimyitwarire ya JavaScript, kugirango barusheho kwerekana neza imiterere n'imikorere yabyo. Ibi bikunze kugaragara mubyangombwa.

Itandukaniro ryamabara

Amabara menshi agizwe na palette isanzwe ya Bootstrap-ikoreshwa murwego rwibintu nko guhinduranya buto, guhindagurika kumenyesha, ibipimo byerekana kwemeza - biganisha ku itandukaniro ryamabara adahagije (munsi ya WCAG 2.0 yerekana ibara ryerekana itandukaniro rya 4.5: 1 ) iyo ikoreshejwe kurwanya urumuri rworoheje. Abanditsi bazakenera guhindura intoki / kwagura amabara asanzwe kugirango barebe ibara rihagije.

Ibintu byihishe bigaragara

Ibirimo bigomba guhishwa muburyo bugaragara, ariko bikaguma bigerwaho muburyo bwikoranabuhanga bufasha nkabasomyi ba ecran, birashobora kwandikwa ukoresheje .sr-onlyishuri. Ibi birashobora kuba ingirakamaro mubihe aho amakuru yinyongera agaragara cyangwa ibimenyetso (nkibisobanuro byerekanwe mugukoresha ibara) bigomba no kugezwa kubakoresha kutagaragara.

<p class="text-danger">
  <span class="sr-only">Danger: </span>
  This action is not reversible
</p>

Kubigaragara byihishe kugenzura, nka gakondo "gusimbuka", .sr-onlybirashobora guhuzwa hamwe .sr-only-focusablenishuri. Ibi bizemeza ko igenzura rigaragara iyo ryibanze (kubakoresha clavier bareba).

<a class="sr-only sr-only-focusable" href="#content">Skip to main content</a>

Kugabanuka

Bootstrap ikubiyemo inkunga kubiranga prefers-reduced-motionitangazamakuru . Mucukumbuzi / ibidukikije byemerera uyikoresha kwerekana ibyo akunda kugabanya umuvuduko, ingaruka nyinshi za CSS zinzibacyuho muri Bootstrap (kurugero, mugihe ikiganiro cya modal cyafunguwe cyangwa gifunze, cyangwa animasiyo yo kunyerera muri karuseli) izahagarikwa.

Amikoro yinyongera