I have the following HTML to create a custom radio button that appears like a yes/no toggle. To comply with WCAG guidelines, would this markup require a role="checkbox"
ARIA attribute on the label? Because I have a native HTML radio button in the markup, I'm not sure if ARIA is required here.
<div class="btn-group btn-group-toggle" data-toggle="buttons">
<label class="btn btn-default">
<input type="radio" class="form-control">Yes
</label>
<label class="btn btn-default active">
<input type="radio" class="form-control" selected="true">No
</label>
</div>