Checkbox group without a list
← Return to main list
This is a test case designed to determine how the <fieldset>
and <legend>
elements are announced in relation to a checkbox group by various screen readers. In this test, the checkbox group is not presented inside a list.
Example
Code
<fieldset>
<legend>Favourite animal</legend>
<div class="form-group">
<input type="checkbox" id="dog">
<label for="dog">Dog</label>
</div>
<div class="form-group">
<input type="checkbox" id="cat">
<label for="cat">Cat</label>
</div>
<div class="form-group">
<input type="checkbox" id="rabbit">
<label for="rabbit">Rabbit</label>
</div>
</fieldset>
Assistive technologies
VoiceOver
- Chrome: Dog. Unticked. Tick box. Favourite animal. Group.
- Firefox: Dog. Unticked. Checkbox. Favourite animal. Group.
- Safari: Dog. Unticked. Tick box. Favourite animal. Favourite animal. Group. [Legend announced twice]
NVDA
- Chrome: Favourite animal. Grouping. Dog. Checkbox. Not checked.
- Firefox: Favourite animal. Grouping. Dog. Checkbox. Not checked.
- Edge: Favourite animal. Grouping. Dog. Checkbox. Not checked.
JAWS
- Chrome: Favourite animal. Group. Dog. Checkbox. Not checked.
- Firefox: Favourite animal. Dog. Checkbox. Not checked.
- Edge: Favourite animal. Group. Dog. Checkbox. Not checked.
← Return to main list