Source

Ukufikeleleka

Isishwankathelo esifutshane seempawu zeBootstrap kunye nemida ekudalweni komxholo ofikelelekayo.

I-Bootstrap inikezela ngesakhelo ekulula ukusisebenzisa seendlela esele zenziwe, izixhobo zokuyila, 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 ne-Bootstrap ezalisekisa i - WCAG 2.0 (A/AA/AAA), iCandelo le-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

Imibala emininzi ngoku eyenza i-palette ye-Bootstrap engagqibekanga—esetyenziswa kuyo yonke isakhelo sezinto ezifana nokwahluka kwamaqhosha, ukwahluka kwezilumkiso, izikhombisi zokuqinisekisa iifom-zikhokelela kumahluko wombala ongonelanga (ngezantsi kwe- WCAG 2.0 yomlinganiselo umahluko wombala we-4.5:1 ) xa isetyenziswa ngokuchaseneyo imvelaphi ekhanyayo. Ababhali kuya kufuneka balungise/bandise le mibala ingagqibekanga ukuze baqinisekise 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>

Izibonelelo ezongezelelweyo