WebAIM - Web Accessibility In Mind

E-mail List Archives

Radio group without legend and fieldset


From: Sudheer Babu
Date: Jan 17, 2020 6:55AM

Hi All,

Can you please check the below code and let me know if the implementation
for the radio group is proper without the legend and fieldset and also if
it pops up any error via tools like axe/wave.


<div role="group" aria-labelled-by="exampleId">
<label id="exampleId">Choices</label>
<input type="radio" name="example-radio" value="One" />
<input type="radio" name="example-radio" value="Two" />