WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Using the Summary attribute in tables

for

From: glen walker
Date: Jul 20, 2022 11:02AM


Correct, the summary attribute was deprecated in HTML 5. Instead you
should use the <caption> element inside a <table>.

Most (all?) screen readers use the caption as the accessible name of the
table so that if I navigate using the T shortcut key, the caption will be
read.



On Wed, Jul 20, 2022 at 10:14 AM Geethavani.Shamanna <
<EMAIL REMOVED> > wrote:

> Hello all,
>
> I recently came across a WAI tutorial on tables recommending the use of
> the Summary attribute to include table description. Is the Summary
> attribute still in use? If it has been deprecated, what is the best
> alternative to add table descriptions?
> Adding a description via a heading above or below the table won't be very
> useful as it won't be directly associated with the table.
>
> Many thanks.
> Geetha
>
>
> > > > >