- From: Sailesh Panchang <spanchang02@yahoo.com>
- Date: Fri, 22 Nov 2013 11:38:43 -0800 (PST)
- To: WCAG <w3c-wai-gl@w3.org>
Joshue / David, The technique applies when one cannot use fieldset / legend as already documented. As I expressed during the last call fieldset-legend might work with groups of custom form controls too. The statement " • If the visual design constraints rule out the use of a particular native element, because the element cannot be styled as required", (Steve's statement [1]) aptly captures the situation where role=group might apply. [1] Using WAI-ARIA in HTML http://rawgithub.com/w3c/aria-in-html/master/index.html Sailesh -------------------------------------------- On Tue, 11/12/13, Sailesh Panchang <spanchang02@yahoo.com> wrote: Subject: Re: WG discussion: Nov 5, 2013: role=group technique To: "Sailesh Panchang" <sailesh.panchang@deque.com>, "Joshue O Connor" <joshue.oconnor@cfit.ie> Cc: "WCAG" <w3c-wai-gl@w3.org> Date: Tuesday, November 12, 2013, 11:26 AM Draft example 3: <div role="group" aria-labelledby="grplabel"><span id="grplabel">Travel mode:</span> <span tabindex="0" role="checkbox" aria-checked="true" aria-labelledby="chk1" onkeydown="return checkBoxEvent(event);" onclick="return checkBoxEvent(event);"> <span id="chk1">By air </span></span> <span tabindex="0" role="checkbox" aria-labelledby="chk2" aria-checked="false" onkeydown="return checkBoxEvent(event);" onclick="return checkBoxEvent(event);"><span id="chk2">By train</span></span> </div> Sailesh -------------------------------------------- On Thu, 11/7/13, Joshue O Connor <joshue.oconnor@cfit.ie> wrote: Subject: Re: WG discussion: Nov 5, 2013: role=group technique To: "Sailesh Panchang" <sailesh.panchang@deque.com> Cc: "Sailesh Panchang" <spanchang02@yahoo.com>, "WCAG" <w3c-wai-gl@w3.org> Date: Thursday, November 7, 2013, 9:48 AM Hi Sailesh, > Hello Joshue, >>> I think Kathys comment is a fair observation, unless it is a common pattern. Maybe>>we need a third example which uses the neutral<div> elements also. This would also>>help to highlight the use of the ARIA grouping roles without any potential confusion>>over whether 'this element is valid on a table or not'. > I do not see where you see potential confusion. [...] It's more where there is potential to enhance it in others that I'm mindful of. > The technique that was > first submitted correctly reflected this in its title: > "Marking logical group of fields using role=group / role=radiogroup > when using fieldset-legend is not practical" > Maybe that should be reinstated? Thanks for that - not a bad idea. > Sure one can use role=group/radiogroup if one codes custom form > controls that cannot be labeled without ARIA or grouped with > fieldset-legend are still in a table-less container. Perhaps someone > might take an action item to create 'Example 3' for that situation. Ok, we can discuss this on the call on Tues. Josh
Received on Friday, 22 November 2013 19:42:14 UTC