Kpe abɔta siwo kplɔ wo nɔewo ɖo kple .btnin .btn-group. Tsɔ JavaScript radio kple aɖaka ƒe atsyã ƒe nuwɔna si nètia la kpe ɖe eŋu kple míaƒe abɔtawo ƒe kpeɖeŋutɔ .
Kpɔ egbɔ be esɔ roleeye nàna dzesidenu
Be mɔ̃ɖaŋununya siwo kpena ɖe ame ŋu (abe screen reader ene) naɖee afia be woƒo abɔta siwo kplɔ wo nɔewo ɖo nu ƒu la, roleele be woana nɔnɔme si sɔ. Le abɔta ƒuƒoƒowo gome la, esia anye role="group", esime ele be dɔwɔnu ƒe ƒuƒoƒowo nakpɔ role="toolbar".
Tsɔ kpe ɖe eŋu la, ele be woana dzeside si me kɔ ƒã ƒuƒoƒowo kple dɔwɔnuwo ƒe ƒuƒoƒowo, elabena ne menye nenema o la, kpekpeɖeŋunamɔ̃ akpa gãtɔ maɖe gbeƒã wo o, togbɔ be akpa si wowɔ ƒe nɔnɔme nyuitɔ le afima hã. Le kpɔɖeŋu siwo wona le afisia me la, míezãa aria-label, gake woate ŋu azã mɔnu bubuwo abe alesi aria-labelledbywoate ŋu azãe ene hã.
Miate ŋu atsaka nyawo tsɔtsɔ de eme ƒe ƒuƒoƒowo kple abɔta ƒe ƒuƒoƒowo faa le wò dɔwɔnuwo me. Abe kpɔɖeŋu si le etame ene la, anɔ eme be àhiã dɔwɔnu aɖewo togbɔ be nàte ŋu aɖo nuwo dome nyuie hã.
@ .
@ .
Sizing ƒe lolome
Le esi teƒe be nàwɔ abɔta ƒe lolome ƒe klasswo ŋudɔ ɖe abɔta ɖesiaɖe ŋu le ƒuƒoƒo aɖe me la, ɖeko nàtsɔe akpe .btn-group-*ɖe ɖesiaɖe ŋu .btn-group, ɖesiaɖe hã le eme ne èle ƒuƒoƒo geɖe ƒom.
Atɔwɔwɔ
Da a .btn-groupɖe bubu me .btn-groupne èdi be woatsɔ nu siwo le tsia dzi la tsaka kple abɔta siwo kplɔ wo nɔewo ɖo.