Source

A thlen theihna tur

Bootstrap-in a hman theih tur content siamna atana a features leh a tihkhawtlai dante tawi te te.

Bootstrap hian hman awlsam tak framework a siam a, ready-made styles, layout tools, leh interactive components te a pe a, developer te chuan website leh application te chu hmuhnawm tak tak, functionally rich tak tak leh out of the box atanga hmuh theih tur an siam thei a ni.

Thupui tlangpui leh tihkhawtlai theihte

Bootstrap hmanga siam project eng pawha hman theih dan tlangpui chu a ziaktu markup, additional styling, leh scripting an dah tel danah a innghat nasa hle. Mahse, hengte hi dik taka kalpui a nih tawh chuan, Bootstrap hmanga WCAG 2.0 (A/AA/AAA), Section 508 leh a ang chi accessibility standard leh mamawh phuhruk thei website leh application siam chu a famkimin a theih tur a ni.

Structure lam hawia markup a ni

Bootstrap hian styling leh layout hi markup structure hrang hrangah hman theih a ni. He documentation hian developer-te hnenah Bootstrap ngei hman dan entir nan best practice entirnan pek a tum a, semantic markup dik tak entir a tum a, chutah chuan accessibility chungchanga harsatna awm thei te chinfel theih dan tur pawh a tel a ni.

Interactive component hrang hrangte

Bootstrap-a interactive components—modal dialogs, dropdown menus leh custom tooltips te hi touch, mouse leh keyboard hmangtute tana thawk thei tura siam a ni. WAI - ARIA role leh attribute inzawmte hman hmangin heng component te hi assistive technology (screen reader ang chi) hmanga hriatthiam theih leh hman theih a ni bawk tur a ni.

Bootstrap-a component-te hi tumruh taka generic taka siam a nih avangin, ziaktute chuan an component awmzia leh a hnathawh dan dik zawka hriat theih nan ARIA role leh attribute dangte bakah JavaScript behavior te pawh an dah tel a ngai mai thei. Hei hi documentation-ah hian tarlan a ni tlangpui.

Color hrang hrang a awm

Tuna Bootstrap default palette siamtu colour tam zawk—framework pumpuiah button danglamna, alert danglamna, form validation indicator ang chi thilte tana hman—chuan color contrast tling lo ( WCAG 2.0 color contrast ratio rawt 4.5:1 hnuai lam ) a siam a, chu chu a dodal chuan hman a ni a light background a ni. Authors te chuan heng default colors te hi an kut hmanga an siam danglam/extend a ngai dawn a, chu chuan color contrast ratio tling tak an neih theih nan.

Hmuh theiha thup theih thup

Content chu hmuh theiha thup tur, mahse screen reader ang chi assistive technology hmanga hman theih reng tur chu .sr-onlyclass hmangin style theih a ni. Hei hi hmuh theiha thu hriat belh emaw, chhinchhiahna emaw (color hman hmanga awmzia tarlan ang chi) dangte pawh hmuh theih loh hmangtute hnêna thlen a ngaihna dinhmunah chuan a ṭangkai thei a ni.

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

Visually hidden interactive controls, traditional “skip” link ang chi te tan chuan class .sr-onlynen a inzawm thei . .sr-only-focusableHei hian control chu focus vawi khat (sighted keyboard hmangtute tan) hmuh theih a nih theih nan a pui ang.

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

Motion tihtlem a ni

prefers-reduced-motionBootstrap ah hian media feature support a awm bawk . Browser/environment-ah chuan reduced motion atana a duhzawng tarlan theihna tur browser/environment-ah chuan Bootstrap-a CSS transition effect tam zawk (entir nan, modal dialog hawn emaw khar emaw a nih emaw, carousel-a sliding animation emaw) chu tihtawp a ni ang.

Resources dangte pawh a awm bawk