in English

Ukufikeleleka

Isishwankathelo esifutshane seempawu zeBootstrap kunye nemida ekudalweni komxholo ofikelelekayo.

I-Bootstrap inikezela ngesakhelo ekulula ukusisebenzisa seendlela esele zenziwe, izixhobo zokucwangcisa, kunye namacandelo asebenzisanayo, okuvumela abaphuhlisi ukuba benze iiwebhusayithi kunye nezicelo ezikhangelekayo, ezityebileyo, kwaye zifikeleleke ngaphandle kwebhokisi.

Isishwankathelo kunye neMida

Ukufikeleleka ngokubanzi kwayo nayiphi na iprojekthi eyakhiwe ngeBootstrap ixhomekeke kwinxalenye enkulu kuphawu lombhali, isitayile esongezelelweyo, kunye nokubhalwa kweskripthi abazibandakanyileyo. Nangona kunjalo, ngaphandle kokuba ezi ziphunyezwe ngokuchanekileyo, kufuneka kube nokwenzeka ngokugqibeleleyo ukwenza iiwebhusayithi kunye nezicelo kunye neBootstrap ezalisekisa iWCAG 2.1 (A/AA/AAA), iCandelo 508 kunye nemigangatho efanayo yokufikeleleka kunye neemfuno.

Imarkup yesakhiwo

Isimbo seBootstrap kunye noyilo lunokusetyenziswa kuluhlu olubanzi lwezakhiwo zokuphawula. Olu xwebhu lujolise ekuboneleleni abaphuhlisi ngemizekelo efanelekileyo yokubonisa ukusetyenziswa kweBootstrap ngokwayo kwaye ibonise uphawu olufanelekileyo lwesemantic, kubandakanywa neendlela apho iinkxalabo zofikelelo ezinokuqwalaselwa.

Amacandelo Interactive

Izinto ezisebenzisanayo zeBootstrap-ezinje ngemodal dialogs, dropdown menus and custom tooltips-zenzelwe ukusebenzela ukubamba, imouse kunye nabasebenzisi bebhodi yezitshixo. Ngokusetyenziswa kweendima ezifanelekileyo ze- WAI - ARIA kunye neempawu, la macandelo kufuneka aqonde kwaye asebenziseke kusetyenziswa ubuchwepheshe bokuncedisa (ezifana nezifundi zesikrini).

Ngenxa yokuba izinto ze-Bootstrap ziyilelwe ngenjongo ukuba zenziwe zisebenza ngokufanayo naqhelekileyo, ababhali banokufuna ukubandakanya ezinye iindima kunye neempawu ze-ARIA , kunye nokuziphatha kweJavaScript, ukuhambisa ngokuchanekileyo ngakumbi ubume obuchanekileyo kunye nokusebenza kwecandelo labo. Oku kudla ngokuphawulwa kuxwebhu.

Umahluko wombala

Eminye imidibaniso yemibala ekhoyo ngoku eyenza i-palette ye-Bootstrap engagqibekanga—esetyenziswa kuyo yonke isakhelo sezinto ezifana nokuguquguquka kwamaqhosha, ukwahluka kwezilumkiso, izibonisi zoqinisekiso lwefomu-kunokukhokelela kuchasano olungonelanga lombala (ngezantsi kwe- WCAG 2.1 yomlinganiselo wokuchasana kombala wombhalo ocetyiswayo we-4.5:1 kunye neWCAG 2.1 umlinganiselo wokuchasana kombala ongengowombhalo we-3:1 ), ngakumbi xa isetyenziswe ngokuchasene nemvelaphi ekhanyayo. Ababhali bayakhuthazwa ukuba bavavanye usetyenziso lwabo oluthile lombala kwaye, apho kuyimfuneko, baguqule ngesandla/bandise le mibala engagqibekanga ukuqinisekisa umlinganiselo owaneleyo wemibala.

Umxholo ofihliweyo ngokubonakalayo

Umxholo omele ufihlwe ngokubonakalayo, kodwa uhlale ufikeleleka kwiiteknoloji ezincedisayo ezifana nezifundi zesikrini, zinokubhalwa kusetyenziswa .sr-onlyiklasi. Oku kunokuba luncedo kwiimeko apho ulwazi olongezelelweyo olubonakalayo okanye izikhokelo (ezifana nentsingiselo echazwa ngokusetyenziswa kombala) kufuneka kwakhona zigqithiselwe kubasebenzisi abangabonakaliyo.

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

Ukulawulwa okubonakalayo okufihliweyo okubonakalayo, okufana ne "skip" yendabuko, .sr-onlyinokudibaniswa .sr-only-focusableneklasi. Oku kuya kuqinisekisa ukuba ulawulo luyabonakala xa sele lugxilile (kubasebenzisi bekhibhodi ababonayo).

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

Isindululo esincitshisiweyo

I-Bootstrap ibandakanya inkxaso yenqaku prefers-reduced-motionlemidiya . Kwibhrawuza/kummandla ovumela umsebenzisi ukuba achaze ukhetho lwabo lwesindululo esincitshisiweyo, uninzi lweziphumo zenguqu yeCSS kwiBootstrap (umzekelo, xa incoko yababini yemodal ivulwa okanye ivaliwe, okanye upopayi otyibilikayo kwicarousels) iya kukhutshazwa, kunye neepopayi ezinentsingiselo ( njengeespina) ziyakucotha.

Izibonelelo ezongezelelweyo