- From: James Nurthen <james.nurthen@oracle.com>
- Date: Mon, 22 Oct 2012 08:24:34 -0700 (PDT)
- To: <adam.solomon2@gmail.com>
- Cc: <w3c-wai-gl@w3.org>, <jared@webaim.org>
Received on Monday, 22 October 2012 15:25:04 UTC
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 15:25:04 UTC