E-mail List Archives
Re: Using the Summary attribute in tables
From: Jeremy Echols
Date: Jul 20, 2022 12:50PM
- Next message: Birkir R. Gunnarsson: "Re: Using the Summary attribute in tables"
- Previous message: Geethavani.Shamanna: "Re: Using the Summary attribute in tables"
- Next message in Thread: Birkir R. Gunnarsson: "Re: Using the Summary attribute in tables"
- Previous message in Thread: Geethavani.Shamanna: "Re: Using the Summary attribute in tables"
- View all messages in this Thread
I believe I've seen it recommended to use aria-describedby pointing to a separate element that contains your summary text. That way you get the general functionality of a summary element, it's still visible to sighted users, etc.
-----Original Message-----
From: WebAIM-Forum < <EMAIL REMOVED> > On Behalf Of Geethavani.Shamanna
Sent: Wednesday, July 20, 2022 10:33
To: WebAIM Discussion List < <EMAIL REMOVED> >
Subject: Re: [WebAIM] Using the Summary attribute in tables
Hi Glen,
The Caption attribute is already being used in tables. However, if the table description is a couple of sentences or a paragraph long, where does that go? Was the Summary attribute replaced with another one in HTML 5?
Thanks.
Geetha
-----Original Message-----
From: WebAIM-Forum < <EMAIL REMOVED> > On Behalf Of glen walker
Sent: 20 July 2022 18:02
To: WebAIM Discussion List < <EMAIL REMOVED> >
Subject: Re: [WebAIM] Using the Summary attribute in tables
CAUTION: This mail comes from outside the University. Please consider this before opening attachments, clicking links, or acting on the content.
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
>
>
> > > <a href="https://urldefense.com/v3/__https://eur01.safelinks.protection.outlook.com/?url=http*3A*2F*2Flist__;JSUl!!C5qS4YX3!AhLca3ICYN8bac__OhFv6OkxopLg4Cmqi4t2V79l0GBPPm6U8H2WNh7RDNN1k_Q0F3SDp3fAMBvJgGLxhf034eyY3yQSW9L6$">https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flist</a>.
> webaim.org%2F&data%7C01%7Cgeethavani.shamanna%40open.ac.uk%7Cda
> 6cb859a1b24d34e3f708da6a71a4a6%7C0e2ed45596af4100bed3a8e5fd981685%7C0%
> 7C0%7C637939333571093154%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiL
> CJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdat
> aqBeFDvSMvycW4%2ByNMllMzBb8f%2BTgMuoIfNfPHkxoXY%3D&reserved=0
> List archives at
> <a
> href="https://urldefense.com/v3/__https://eur01.safelinks.protection.o
> utlook.com/?url=http*3A*2F*2Fwebai__;JSUl!!C5qS4YX3!AhLca3ICYN8bac__Oh
> Fv6OkxopLg4Cmqi4t2V79l0GBPPm6U8H2WNh7RDNN1k_Q0F3SDp3fAMBvJgGLxhf034eyY
> 3_Nk0oN9$">https://eur01.safelinks.protection.outlook.com/?url=http%3A
> %2F%2Fwebai</a>
> m.org%2Fdiscussion%2Farchives&data%7C01%7Cgeethavani.shamanna%4
> 0open.ac.uk%7Cda6cb859a1b24d34e3f708da6a71a4a6%7C0e2ed45596af4100bed3a
> 8e5fd981685%7C0%7C0%7C637939333571093154%7CUnknown%7CTWFpbGZsb3d8eyJWI
> joiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7
> C%7C%7C&sdata=%2FzAxg7UgxfMZcZRlYh3vEbpEQkW0Q8bhKBF7B4eQn8w%3D&
> ;reserved=0 >
List archives at <a href="https://urldefense.com/v3/__https://eur01.safelinks.protection.outlook.com/?url=http*3A*2F*2Fwebaim.org*2Fdiscussion*2Farchives&data*7C01*7Cgeethavani.shamanna*40open.ac.uk*7Cda6cb859a1b24d34e3f708da6a71a4a6*7C0e2ed45596af4100bed3a8e5fd981685*7C0*7C0*7C637939333571093154*7CUnknown*7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0*3D*7C3000*7C*7C*7C&sdata=*2FzAxg7UgxfMZcZRlYh3vEbpEQkW0Q8bhKBF7B4eQn8w*3D&reserved=0__;JSUlJSUlJSUlJSUlJSUlJSUlJSUlJQ!!C5qS4YX3!AhLca3ICYN8bac__OhFv6OkxopLg4Cmqi4t2V79l0GBPPm6U8H2WNh7RDNN1k_Q0F3SDp3fAMBvJgGLxhf034eyY3wV2rPZd$">https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwebaim.org%2Fdiscussion%2Farchives&data%7C01%7Cgeethavani.shamanna%40open.ac.uk%7Cda6cb859a1b24d34e3f708da6a71a4a6%7C0e2ed45596af4100bed3a8e5fd981685%7C0%7C0%7C637939333571093154%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=%2FzAxg7UgxfMZcZRlYh3vEbpEQkW0Q8bhKBF7B4eQn8w%3D&reserved=0</a>
- Next message: Birkir R. Gunnarsson: "Re: Using the Summary attribute in tables"
- Previous message: Geethavani.Shamanna: "Re: Using the Summary attribute in tables"
- Next message in Thread: Birkir R. Gunnarsson: "Re: Using the Summary attribute in tables"
- Previous message in Thread: Geethavani.Shamanna: "Re: Using the Summary attribute in tables"
- View all messages in this Thread