W3C home > Mailing lists > Public > w3c-wai-gl@w3.org > October to December 2012

Re: aria alternative for fieldset legend

From: adam solomon <adam.solomon2@gmail.com>
Date: Mon, 22 Oct 2012 16:48:07 +0200
Message-ID: <CALKv3=i-pRvWUy=qmykGHP+H1LV8mDHfPBBgAR3Wb-wj+66Kgg@mail.gmail.com>
To: Jared Smith <jared@webaim.org>
Cc: WCAG <w3c-wai-gl@w3.org>
Thanks - that's what I was looking for

On Mon, Oct 22, 2012 at 4:40 PM, Jared Smith <jared@webaim.org> wrote:

> If a higher level description of the radio button group is not
> present, then there's no need for a fieldset/legend. As you note, all
> would be at the same disadvantage.
>
> If a visible 'legend' is present and fieldset/legend markup is not
> possible, you could use the ARIA radiogroup role with a label that
> references this legend text. This should function identical to its
> HTML equivalent.
>
> <p id="question">I am the question text?</p>
> <div role="radiogroup" aria-labelledby="question">
> <input ... >
> ...
> </div>
>
> Jared
>
>
Received on Monday, 22 October 2012 14:50:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 22 October 2012 14:50:34 GMT