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

Re: WG discussion: Nov 5, 2013: role=group technique

From: Sailesh Panchang <spanchang02@yahoo.com>
Date: Fri, 22 Nov 2013 11:38:43 -0800 (PST)
Message-ID: <1385149123.75801.YahooMailBasic@web125002.mail.ne1.yahoo.com>
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

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-labelledby="chk1" onkeydown="return
 <span id="chk1">By air
 <span tabindex="0" role="checkbox" aria-labelledby="chk2"
  onclick="return checkBoxEvent(event);"><span
 id="chk2">By train</span></span>
 On Thu, 11/7/13, Joshue O Connor <joshue.oconnor@cfit.ie>
  Subject: Re: WG discussion: Nov 5, 2013: role=group
  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
  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
  > "Marking logical group of fields using role=group /
  > 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
  > 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.
Received on Friday, 22 November 2013 19:42:14 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:32:54 UTC