WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Guidelines for nested data tables?

for

From: Wendy Chisholm
Date: Oct 22, 2009 12:20PM


The most reliable method I've found to associate a data cell with a
heading is to use the headers and id attributes
(http://sp1ral.com/tests/flood-data-final.html). I have not tested
associating a data cell in an inner (nested) table with a heading in
an outer table. It would be an interesting test. Do you have an
example of the tables/data you are marking up? I'd love to hear how
Jaws, WindowEyes, and NVDA handle that type of relationship.

--w

On Thu, Oct 22, 2009 at 9:27 AM, D A < <EMAIL REMOVED> > wrote:
>> Sounds like an ARIA Tree Grid:
>>
>> Resources:
>> http://www.w3.org/TR/wai-aria/#treegrid
>> http://dev.aol.com/dhtml_style_guide#grid
>> http://wiki.codetalks.org/wiki/index.php/Set_of_ARIA_Test_Cases#Treegrid
>
> Looking at this:
>
> http://codetalks.org/source/widgets/treegrid/treegrid.sample2.html
>
> I'd say yes. Sort of. ;)
>
> In this case, table would look like this:
>
> head1, head2, head3
> data1, data2, data3
> data1, data2, data3
> ---
> sub Table head 1, sub Table head 2, sub Table head 3
> sub table data 1, sub table data 2, sub table data 3
> sub table data 1, sub table data 2, sub table data 3
> ---
> data1, data2, data3
> data1, data2, data3
>
> The sub table may or may not have the same number of columns so seems
> best served as a separate table.
>
> -Darrel
>