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

Re: aria alternative for fieldset legend

From: Sailesh Panchang <spanchang02@yahoo.com>
Date: Mon, 22 Oct 2012 11:50:29 -0700 (PDT)
Message-ID: <1350931829.76328.YahooMailNeo@web111721.mail.gq1.yahoo.com>
To: James Nurthen <james.nurthen@oracle.com>, "adam.solomon2@gmail.com" <adam.solomon2@gmail.com>
Cc: "w3c-wai-gl@w3.org" <w3c-wai-gl@w3.org>, "jared@webaim.org" <jared@webaim.org>
Adam / James,
Trust you have seen the original post and the sample file linked from this page:
http://www.deque.com/aria-group-viable-alternative-fieldset-legend

Besides, I and Deque's tool WorldSpace faults the use of a fieldset without a legend tag.
Regards,
Sailesh
Tel 571-344-1765 (c)
703-225-0380 ext 105)


    



________________________________
 From: James Nurthen <james.nurthen@oracle.com>
To: adam.solomon2@gmail.com 
Cc: w3c-wai-gl@w3.org; jared@webaim.org 
Sent: Monday, October 22, 2012 11:24 AM
Subject: Re: aria alternative for fieldset legend
 

Adam, 

You can also use role=group which is the more direct mapping to fieldset/legend in a more generic situation where you can have controls of different types within the group.

<p id="question">I am the question text?</p>
<div role="group" aria-labelledby="question">
<input ... >
...
</div>

Regards,
James

----- Original Message -----
From: adam.solomon2@gmail.com
To: jared@webaim.org
Cc: w3c-wai-gl@w3.org
Sent: Monday, October 22, 2012 7:51:18 AM GMT -08:00 US/Canada Pacific
Subject: Re: aria alternative for fieldset legend


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 18:50:57 GMT

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