in English

Kuboneka

Incamake muri make ibiranga Bootstrap nimbogamizi 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 ku buryo bugaragara, zikungahaye cyane, kandi zishobora gusohoka mu gasanduku.

Incamake n'imbibi

Muri rusange kugerwaho kwumushinga uwo ariwo wose wubatswe na Bootstrap biterwa nigice kinini kumurongo wumwanditsi, 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.1 (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 zo kwimenyereza kwerekana imikoreshereze ya Bootstrap ubwayo no kwerekana ibimenyetso bikwiye, harimo nuburyo ibibazo bishobora kugerwaho byakemuka.

Ibice bikorana

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

Kuberako ibice bya Bootstrap byateguwe kugirango bibe rusange, abanditsi barashobora 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

Guhuza amabara amwe agizwe na palette isanzwe ya Bootstrap-ikoreshwa murwego rwibintu nko guhinduranya buto, guhindagurika kumenyesha, ibipimo byerekana ibimenyetso-bishobora gutuma habaho itandukaniro ryamabara adahagije (munsi yicyifuzo cya WCAG 2.1 cyerekana ibara ryerekana ibara rya 4.5: 1 na WCAG 2.1 itandukanijwe ryamabara itandukanye ya 3: 1 ), cyane cyane iyo ikoreshejwe inyuma yumucyo. Abanditsi barashishikarizwa kugerageza gukoresha imikoreshereze yihariye yamabara kandi, aho bibaye ngombwa, guhindura intoki / kwagura amabara asanzwe kugirango barebe ibara ritandukanye 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 bigenzurwa, nka "skip" gakondo, .sr-onlybirashobora guhuzwa hamwe .sr-only-focusablenishuri. Ibi bizemeza ko igenzura rigaragara iyo ryibanze (kubakoresha clavier igaragara).

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

Kugabanuka

Bootstrap ikubiyemo inkunga kubiranga prefers-reduced-motionitangazamakuru . Muri mushakisha / 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) bizahagarikwa, hamwe na animasiyo zifite akamaro ( nka spiners) bizatinda.

Amikoro yinyongera