E-mail List Archives
Thread: Problem with grouping controls such as radio buttons and check boxes
Number of posts in this thread: 3 (In chronological order)
From: Geethavani.Shamanna
Date: Thu, Sep 15 2022 5:17AM
Subject: Problem with grouping controls such as radio buttons and check boxes
No previous message | Next message →
Hello all,
We are wrestling with a problem related to grouping controls such as radio buttons and check boxes.
This is a simple process when questions appear as text in a paragraph. However, if there are single or multiple choice answers based on a question in an audio file, how do we group the controls meaningfully? What do we include in the Legend tag then?
Any ideas/suggestions greatly appreciated.
Many thanks.
Geetha
From: Mark Magennis
Date: Thu, Sep 15 2022 6:55AM
Subject: Re: Problem with grouping controls such as radio buttons andcheck boxes
← Previous message | Next message →
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
From: Geethavani.Shamanna
Date: Thu, Sep 15 2022 7:41AM
Subject: Re: Problem with grouping controls such as radio buttons andcheck boxes
← Previous message | No next message
Thanks Mark, that is a good suggestion.
Since the question text is presented in different ways but the solution for grouping controls has to be uniform, we are also exploring the possibility of assigning unique numbers to questions and then adding the text 'refer to question 1 before selecting an answer' in the Legend.
Geetha