WebAIM - Web Accessibility In Mind

E-mail List Archives

Thread: Problem with grouping controls such as radio buttons and check boxes

for

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

-----Original Message-----
From: WebAIM-Forum < = EMAIL ADDRESS REMOVED = > On Behalf Of Geethavani.Shamanna
Sent: Thursday 15 September 2022 12:17
To: WebAIM Discussion List < = EMAIL ADDRESS REMOVED = >
Subject: [EXTERNAL] [WebAIM] Problem with grouping controls such as radio buttons and check boxes

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: 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
-----Original Message-----
From: WebAIM-Forum < = EMAIL ADDRESS REMOVED = > On Behalf Of Mark Magennis
Sent: 15 September 2022 13:55
To: WebAIM Discussion List < = EMAIL ADDRESS REMOVED = >
Subject: Re: [WebAIM] [EXTERNAL] Problem with grouping controls such as radio buttons and check boxes

CAUTION: This mail comes from outside the University. Please consider this before opening attachments, clicking links, or acting on the content.

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

-----Original Message-----
From: WebAIM-Forum < = EMAIL ADDRESS REMOVED = > On Behalf Of Geethavani.Shamanna
Sent: Thursday 15 September 2022 12:17
To: WebAIM Discussion List < = EMAIL ADDRESS REMOVED = >
Subject: [EXTERNAL] [WebAIM] Problem with grouping controls such as radio buttons and check boxes

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