WebAIM - Web Accessibility In Mind

E-mail List Archives

Multiple choice with radio buttons - WCAG conformant markup

for

From: ALISTAIR DUGGIN
Date: Apr 5, 2018 3:17PM


Hi,
Would a multiple choice question with radio buttons that does not use a legend for the question wrapped in a fieldset fail WCAG 2.0 AA? Is it a failure of Success Criterion 1.3.1 Info and Relationships?
eg
<div><h3>Do you wish to continue completing this response form?</h3><ul><li><label for="o6a"><input type="radio" id="o6a" name="o6" value="yes">Yes</label></li><li><label for="o6b"><input type="radio" id="o6b" name="o6" value="no">No</label></li></ul></div>
I'm looking for a WCAG conformant online survey tool and have found a couple that look pretty good apart from this issue.

cheers,Al