<fieldset class="form-group radios">
<legend class="control-label">Getal</legend>
<div class="radio">
<label>
<input type="radio" name="checkbox_voorbeeld" value="1" /> een
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="checkbox_voorbeeld" value="2" /> twee
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="checkbox_voorbeeld" value="3" /> drie
</label>
</div>
<p class="help-block" id="helpTextId_checkbox_voorbeeld">Kies een even getal</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: checkbox_voorbeeld
label: Getal
helpText: Kies een even getal
options:
- value: 1
label: een
- value: 2
label: twee
- value: 3
label: drie
Een help block staat altijd direct in de .form-group
.
Als de checkbox een disabled state heeft, dan moet er 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="checkbox_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">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="checkbox_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">Getal</legend>
<div class="radio">
<label>
<input type="radio" name="checkbox_voorbeeld" value="1"> een
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="checkbox_voorbeeld" value="2"> twee
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="checkbox_voorbeeld" value="3"> drie
</label>
</div>
<p class="help-block" id="helpTextId_checkbox_voorbeeld">Kies een even getal</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">Getal</legend>
<div class="radio">
<label>
<input type="radio" name="checkbox_voorbeeld" value="1"> een
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="checkbox_voorbeeld" value="2"> twee
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="checkbox_voorbeeld" value="3"> drie
</label>
</div>
<p class="help-block" id="helpTextId_checkbox_voorbeeld">Kies een even getal</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">Getal</legend>
<div class="radio">
<label>
<input type="radio" name="checkbox_voorbeeld" value="1"> een
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="checkbox_voorbeeld" value="2"> twee
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="checkbox_voorbeeld" value="3"> drie
</label>
</div>
<p class="help-block" id="helpTextId_checkbox_voorbeeld">Kies een even getal</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">Getal</legend>
<div class="radio">
<label>
<input type="radio" name="checkbox_voorbeeld" value="1"> een
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="checkbox_voorbeeld" value="2"> twee
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="checkbox_voorbeeld" value="3"> drie
</label>
</div>
<p class="help-block" id="helpTextId_checkbox_voorbeeld">Kies een even getal</p>
</fieldset>
<button type="submit" class="hidden">VALIDATOR_ONLY</button>
</form>