Created
October 12, 2019 04:31
-
-
Save takahirohonda/6fe71c950700af0001f54f7e922eb03d to your computer and use it in GitHub Desktop.
accessibility-form-tips-3-radio-input.html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<fieldset class="input-field" tabindex=0 > | |
<legend class="form-label">Venue Location</legend> | |
<p class="sr-only">Select the city you would like to attend.</p> | |
<div class="radio-button-container venueLocation-group" | |
role="radiogroup" aria-required="true"> | |
<div class="radio-button-group" tabindex=0> | |
<input type="radio" class="radio-input" id="sydney" | |
name="venue" value="Sydney" required /> | |
<label class="radio-label" for="sydney"> | |
Sydney | |
</label> | |
</div> | |
<div class="radio-button-group" tabindex=0> | |
<input type="radio" class="radio-input" id="melbourne" | |
name="venue" value="melbourne" /> | |
<label class="radio-label" for="melbourne"> | |
Melbourne | |
</label> | |
</div> | |
</div> | |
</fieldset> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment