in English

Kufikika

Kuwunikira mwachidule za mawonekedwe a Bootstrap ndi zolepheretsa pakupanga zomwe zingapezeke.

Bootstrap imapereka dongosolo losavuta kugwiritsa ntchito la masitayelo okonzeka, zida zamakonzedwe, ndi zida zolumikizirana, zomwe zimalola opanga mawebusayiti kupanga mawebusayiti ndi mapulogalamu omwe ali owoneka bwino, olemera, komanso opezeka kunja kwa bokosilo.

Mwachidule ndi Zopereŵera

Kupezeka konse kwa pulojekiti iliyonse yomangidwa ndi Bootstrap kumadalira kwambiri zolemba za wolemba, masitayelo owonjezera, ndi zolemba zomwe aphatikiza. Komabe, malinga ngati izi zakhala zikugwiritsidwa ntchito moyenera, ziyenera kukhala zotheka kupanga mawebusayiti ndi mapulogalamu ndi Bootstrap omwe amakwaniritsa WCAG 2.0 (A/AA/AAA), Gawo 508 ndi miyezo yofikira yofananira ndi zofunika.

Zomangamanga

Maonekedwe a Bootstrap ndi masanjidwe ake amatha kugwiritsidwa ntchito pamapangidwe osiyanasiyana. Zolemba izi cholinga chake ndi kupatsa opanga zitsanzo zabwino kwambiri zowonetsera kagwiritsidwe ntchito ka Bootstrap yokha ndikuwonetsa kalembedwe koyenera ka mawu, kuphatikiza njira zomwe zokhuza kupezeka zingayankhidwe.

Zigawo zothandizira

Zida zogwirira ntchito za Bootstrap-monga ma modal dialogs, menyu otsikira ndi zida zachikhalidwe-adapangidwa kuti azigwira ntchito, mbewa ndi kiyibodi. Pogwiritsa ntchito maudindo ndi mawonekedwe a WAI - ARIA , zigawozi ziyeneranso kumveka bwino komanso zogwiritsidwa ntchito pogwiritsa ntchito matekinoloje othandizira (monga zowerengera zowonera).

Chifukwa zigawo za Bootstrap zidapangidwa mwadala kuti zikhale zamtundu uliwonse, olemba angafunike kuphatikizanso maudindo ndi machitidwe a ARIA , komanso machitidwe a JavaScript, kuti afotokozere bwino momwe gawo lawo limagwirira ntchito. Izi nthawi zambiri zimawonetsedwa muzolemba.

Kusiyana kwamitundu

Mitundu yambiri yomwe pakali pano imapanga phale lachikale la Bootstrap—lomwe limagwiritsidwa ntchito muzochita zonse monga kusintha kwa mabatani, kusiyanasiyana kwa zidziwitso, zizindikiro zotsimikizira mawonekedwe—zimapangitsa kusiyana kokwanira kwa mitundu (pansi pa chiŵerengero cha WCAG 2.0 chosiyanitsa cha 4.5:1 ) chikagwiritsidwa ntchito motsutsa maziko owala. Olemba adzafunika kusintha pawokha/kukulitsa mitunduyi kuti atsimikizire kusiyanitsa kokwanira kwa mitundu.

Zobisika zowoneka

Zomwe ziyenera kukhala zobisika, koma kukhalabe zotheka ku matekinoloje othandizira monga zowerengera zowonera, zitha kulembedwa pogwiritsa ntchito .sr-onlykalasi. Izi zitha kukhala zothandiza ngati zidziwitso zowonjezera kapena zowonera (monga matanthauzidwe ogwiritsidwa ntchito pogwiritsa ntchito mtundu) ziyeneranso kuperekedwa kwa ogwiritsa ntchito osawona.

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

Kwa zowongolera zobisika zobisika, monga maulalo achikhalidwe "dumpha", .sr-onlyzitha kuphatikizidwa ndi .sr-only-focusablekalasi. Izi zidzaonetsetsa kuti kuwongolera kumawonekera kamodzi kokha (kwa ogwiritsa ntchito kiyibodi).

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

Kuyenda kwachepetsedwa

Bootstrap imaphatikizapo kuthandizira prefers-reduced-motionpazofalitsa . M'masakatuli / malo omwe amalola wogwiritsa ntchito kufotokoza zomwe akufuna kuti achepetse kuyenda, kusintha kwa CSS ku Bootstrap (mwachitsanzo, pamene kukambirana kwa modal kutsegulidwa kapena kutsekedwa, kapena makanema ojambula mu carousels) adzayimitsidwa.

Zothandizira zowonjezera