SourceIqembu lokokufaka
Nweba kalula izilawuli zefomu ngokungeza umbhalo, izinkinobho, noma amaqembu ezinkinobho nhlangothi zombili zokufakwayo kombhalo, ukukhethwa ngokwezifiso, nokokufaka kwamafayela ngokwezifiso.
Isibonelo esiyisisekelo
Beka isengezo esisodwa noma inkinobho nhlangothi zombili yokokufaka. Ungakwazi futhi ukubeka eyodwa nhlangothi zombili yokokufaka. Khumbula ukubeka <label>
ngaphandle kweqembu lokufaka.
Ukusonga
Amaqembu okokufaka asonga ngokuzenzakalelayo flex-wrap: wrap
ukuze afakele ukuqinisekiswa kwenkundla yefomu ngokwezifiso ngaphakathi kweqembu lokufaka. Ungakhubaza lokhu nge- .flex-nowrap
.
Ukulinganisa
Engeza amakilasi okulinganisa amafomu ahlobene kulona .input-group
uqobo futhi okuqukethwe ngaphakathi kuzoshintsha usayizi ngokuzenzekelayo—asikho isidingo sokuphinda amakilasi osayizi wokulawula wefomu kwinto ngayinye.
Ukulinganisa izingxenye zeqembu ngalinye akusekelwa.
Amabhokisi okuhlola namarediyo
Beka noma yiliphi ibhokisi likaqhwishi noma inketho yomsakazo phakathi kwe-addon yeqembu lokufaka esikhundleni sombhalo.
Nakuba ama-multiple <input>
asekelwa ngokubonakalayo, izitayela zokuqinisekisa zitholakala kuphela emaqenjini okokufaka ane-single <input>
.
Ama-addon amaningi
Izengezo eziningi ziyasekelwa futhi zingaxutshwa nebhokisi lokuhlola nezinguqulo zokufaka zomsakazo.
Amaqembu okokufaka ahlanganisa usekelo lokukhethwa ngokwezifiso nokokufaka kwamafayela ngokwezifiso. Izinguqulo ezizenzakalelayo zesiphequluli zalezi azisekelwe.
Khetha ngokwezifiso
Ukufinyeleleka
Izifundi zesikrini zizoba nenkinga ngamafomu akho uma ungafaki ilebula yakho konke okokufaka. Kulawa maqembu okokufaka, qinisekisa ukuthi noma iyiphi ilebula eyengeziwe noma ukusebenza kudluliselwa kubuchwepheshe obusizayo.
Indlela okuyiyona okufanele isetshenziswe ( <label>
izakhi ezifihlwe kusetshenziswa .sr-only
ikilasi, noma ukusetshenziswa kwezibaluli aria-label
, aria-labelledby
okungenzeka kuhlanganiswe aria-describedby
) nokuthi yiluphi ulwazi olwengeziwe oluzodinga ukudluliselwa luzohluka kuye ngohlobo lwewijethi yesixhumi esibonakalayo oyisebenzisayo. Izibonelo kulesi sigaba zinikeza izindlela ezimbalwa eziphakanyisiwe, eziqondene necala elithile.