How do I properly code a common group of radio or checkbox inputs to make sure they are accessible?
Radio and checkbox groups need the following to be full accessible.
<form>
<fieldset>
<legend>
<input>
<label>
<div>
<form> <fieldset> <legend>This is a description of the group</legend> <div> <input id=“item-number-1” type="checkbox" name=“same-for-all-items” value=“option”1> <label for="item-number-1">Item 1</label> </div> <div> <input id="item-number-2” type="checkbox" name=“same-for-all-items” value=“option 2”> <label for="item-number-2”>Item 2</label> </div> </fieldset> </form>
There was an error while loading. Please reload this page.
Home
TODO: can we recreate the tag system here roughly with sections about certain subjects?