Source

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 kuyika kwa mawu oyenerera, kuphatikiza njira zomwe zovuta zopezeka zitha kuyankhidwa.

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 zachidule, 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, kusinthika kwa zidziwitso, zizindikiro zotsimikizira mawonekedwe-zimapangitsa kusiyana kosakwanira kwa mitundu (pansi pa chiyerekezo chosiyana cha WCAG 2.0 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 kupangidwa 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 wosuta kufotokoza zomwe akufuna kuti achepetse kuyenda, zambiri za kusintha kwa CSS mu Bootstrap (mwachitsanzo, pamene zokambirana za modal zitsegulidwa kapena kutsekedwa) zidzayimitsidwa. Pakadali pano, chithandizo chimangokhala Safari pa macOS ndi iOS.

Zothandizira zowonjezera