E-mail List Archives
Re: Markup for question and answer scenario
From: chaals
Date: Jun 21, 2015 6:35PM
- Next message: Birkir R. Gunnarsson: "Re: Markup for question and answer scenario"
- Previous message: Bryan Garaventa: "Announcing the ARIA Role Conformance Matrices for the ARIA 1.1 specification."
- Next message in Thread: Birkir R. Gunnarsson: "Re: Markup for question and answer scenario"
- Previous message in Thread: Steve Faulkner: "Re: Markup for question and answer scenario"
- View all messages in this Thread
- faulkner.steve@
20.06.2015, 10:51, "Steve Faulkner" < <EMAIL REMOVED> >:
> Can you provide an example question? also is it intended that there are
> multiple question on a page?
> anyway here is a stab at code for a single page pre question:
If there are multiple questions on a page I would put them each in a section, get the heading levels right, and you might have enough. Overthinking this might not be the most important accessibility issue to work on…
I assume that what you really want is reasonable navigation, right?
cheers
> <h1>Question 4</h1>
> <p>brief description</p>
> <p>..</p>
> <h2 id="question">specific question</h2>
> <fieldset aria-labelledby="question">
> The answer set (e.g., True or False, Multiple Choice, etc.)
> </fieldset>
>
> --
>
> Regards
>
> SteveF
> Current Standards Work @W3C
> <http://www.paciellogroup.com/blog/2015/03/current-standards-work-at-w3c/>
>
> On 20 June 2015 at 09:36, Steve Faulkner < <EMAIL REMOVED> > wrote:
>
>> Â On 20 June 2015 at 07:40, Sean Keegan < <EMAIL REMOVED> > wrote:
>>
>>> Â Another attempt involved wrapping everything in a fieldset with the legend
>>> Â set as the question number, and then using a nested fieldset or div on the
>>> Â specific question and answer set. However, that nesting didn't seem quite
>>> Â right either.
>>
>> Â Hi Sean, right, unless it contains form controls fieldset is not the right
>> Â way to mark it up
>>
>> Â The fieldset element represents a set of form controls optionally grouped
>>> Â under a common name.
>>
>> Â http://www.w3.org/TR/html5/forms.html#the-fieldset-element
>>
>> Â --
>>
>> Â Regards
>>
>> Â SteveF
>> Â Current Standards Work @W3C
>> Â <http://www.paciellogroup.com/blog/2015/03/current-standards-work-at-w3c/>
>
> > > > --
Charles McCathie Nevile - web standards - CTO Office, Yandex
<EMAIL REMOVED> - - - Find more at http://yandex.com
- Next message: Birkir R. Gunnarsson: "Re: Markup for question and answer scenario"
- Previous message: Bryan Garaventa: "Announcing the ARIA Role Conformance Matrices for the ARIA 1.1 specification."
- Next message in Thread: Birkir R. Gunnarsson: "Re: Markup for question and answer scenario"
- Previous message in Thread: Steve Faulkner: "Re: Markup for question and answer scenario"
- View all messages in this Thread