WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Problem with grouping controls such as radio buttons andcheck boxes

for

From: Mark Magennis
Date: Sep 15, 2022 6:55AM


Presumably you have a play button or download button for the audio file? You could include that before the control group, giving it a unique name and referring to that name within the legend, e.g.:

<button>Play question 1 audio</button>
<fieldset>
<legend>Question 1 listen to audio above before selecting an answer</legend>
<input type="radio>...
...
</fieldset>

This is just a rough idea, you might want to word it differently. I think you would also need instructions at the top of the page to tell users that where indicated some questions will require them to listen to an audio file before answering.

Mark