WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Summary and datatables?

for

From: Rabab Gomaa
Date: Sep 16, 2013 1:28PM


Hi Karl,=20
Re: Would you say that *all* tables require one or the other? Why not =
both?
- Only data tables. Layout tables should not use caption or summary=20
ref. http://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/F46
=20
- Both Summary and caption can be used for (except for HTML 5 as summary =
is obsolete).=20
However, if both are used, the caption should not duplicate information in =
the summary.
ref. http://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/H39
=20
Rabab
>>> Karl Groves < <EMAIL REMOVED> > 2013-09-16 1:29 PM >>>
Hi, Rebab. Can you elaborate on this statement a bit? "Data tables =
require
either summary or caption."
Would you say that *all* tables require one or the other? Why not both?
Under what circumstances could they be eliminated? "Require" is quite =
the
absolute statement.


On Mon, Sep 16, 2013 at 1:20 PM, Rabab Gomaa
< <EMAIL REMOVED> >wrote:

> Hi Nancy,
>
> Data tables require either summary or caption.
> - If your page is an X-HTML, you can have <summary> or <caption> to pass
> WCAG 2.0 1.3.1 and 4.1.1
> - If your page is HTML5, then you can have only <caption> because
> <summary> is an obsolete element in HTML 5. Using summary in HTML5 will
> cause failure of 4.1.1.
>
> Ref. list of obsolete elements in HTML5
> http://www.w3.org/TR/html5/obsolete.html#obsolete
>
> Rabab
>
> >>> Nancy Johnson < <EMAIL REMOVED> > 2013-09-16 12:53 PM >>>
> I am trying to validate a page with a dynamically built data table
> and am using a Firefox addon which failed the data table because of
> lack of a "summary". Checkpoint 1.3.1 Info and Relationships.
>
> Question: I couldn't find much else about it, not even with the W3C.
> Can you help me out? Is a requirement for success of data tables?
>
> Thank you
>
> Nancy Johnson
> > > >
> > > >
>


--=20

Karl Groves
www.karlgroves.com
@karlgroves
http://www.linkedin.com/in/karlgroves
Phone: +1 410.541.6829