<fieldset class="form-group radios">
<legend class="control-label">Oneven getal</legend>
<div class="radio">
<label>
<input type="radio" name="radio_voorbeeld" value="1" /> een
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="radio_voorbeeld" value="2" /> twee
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="radio_voorbeeld" value="3" /> drie
</label>
</div>
<p class="help-block" id="helpTextId_radio_voorbeeld">Kies alle oneven getallen</p>
</fieldset>
<fieldset class="form-group radios">
<legend class="control-label">{{ label }}</legend>
{{#each options }}
<div class="radio">
<label>
<input type="radio" name="{{ ../id }}" value="{{ value }}"{{{ifattr ' disabled' disabled }}}{{{ifattr ' readonly' readonly }}}{{{ifattr ' checked' checked }}} /> {{ label }}
</label>
</div>
{{/each}}
{{#if helpText }}
{{> '@help-block' }}
{{/if}}
</fieldset>
id: radio_voorbeeld
label: Oneven getal
helpText: Kies alle oneven getallen
options:
- value: 1
label: een
- value: 2
label: twee
- value: 3
label: drie
Een help block staat altijd direct in de .form-group
.
Als een checkbox disabled is, dan moet er ook een .disabled
op de .radio
worden geplaatst. Zonder deze modifier zal er geen “niet toegestaan” cursor op het label
zijn
This label's "for" attribute contains an ID that does not exist in the document fragment.
<label>
<input type="radio" name="radio_voorbeeld" value="1"> een
</label>
This element's text is placed on a background image. Ensure the contrast ratio between the text and all covered parts of the image are at least 4.5:1.
<legend class="control-label">Oneven getal</legend>
Check that the title element describes the document.
<title>Default
Check that a change of context does not occur when this input field receives focus.
<input type="radio" name="radio_voorbeeld" value="1">
If an input error is automatically detected in this form, check that the item(s) in error are identified and the error(s) are described to the user in text.
<form>
<fieldset class="form-group radios">
<legend class="control-label">Oneven getal</legend>
<div class="radio">
<label>
<input type="radio" name="radio_voorbeeld" value="1"> een
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="radio_voorbeeld" value="2"> twee
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="radio_voorbeeld" value="3"> drie
</label>
</div>
<p class="help-block" id="helpTextId_radio_voorbeeld">Kies alle oneven getallen</p>
</fieldset>
<button type="submit" class="hidden">VALIDATOR_ONLY</button>
</form>
Check that descriptive labels or instructions (including for required fields) are provided for user input in this form.
<form>
<fieldset class="form-group radios">
<legend class="control-label">Oneven getal</legend>
<div class="radio">
<label>
<input type="radio" name="radio_voorbeeld" value="1"> een
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="radio_voorbeeld" value="2"> twee
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="radio_voorbeeld" value="3"> drie
</label>
</div>
<p class="help-block" id="helpTextId_radio_voorbeeld">Kies alle oneven getallen</p>
</fieldset>
<button type="submit" class="hidden">VALIDATOR_ONLY</button>
</form>
Check that this form provides suggested corrections to errors in user input, unless it would jeopardize the security or purpose of the content.
<form>
<fieldset class="form-group radios">
<legend class="control-label">Oneven getal</legend>
<div class="radio">
<label>
<input type="radio" name="radio_voorbeeld" value="1"> een
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="radio_voorbeeld" value="2"> twee
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="radio_voorbeeld" value="3"> drie
</label>
</div>
<p class="help-block" id="helpTextId_radio_voorbeeld">Kies alle oneven getallen</p>
</fieldset>
<button type="submit" class="hidden">VALIDATOR_ONLY</button>
</form>
If this form would bind a user to a financial or legal commitment, modify/delete user-controllable data, or submit test responses, ensure that submissions are either reversible, checked for input errors, and/or confirmed by the user.
<form>
<fieldset class="form-group radios">
<legend class="control-label">Oneven getal</legend>
<div class="radio">
<label>
<input type="radio" name="radio_voorbeeld" value="1"> een
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="radio_voorbeeld" value="2"> twee
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="radio_voorbeeld" value="3"> drie
</label>
</div>
<p class="help-block" id="helpTextId_radio_voorbeeld">Kies alle oneven getallen</p>
</fieldset>
<button type="submit" class="hidden">VALIDATOR_ONLY</button>
</form>