WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Table captions or summaries visible only by screen readers

for

From: Birkir R. Gunnarsson
Date: Oct 29, 2018 5:10AM


You can use the aria-label or aria-labelledby attribute on the <table>
element for a short label and aria-describedby for a longer
description (the target can be visually hidden).
A simple, well-formed data table does not need a screen reader description.
Technically a table does not need an accessible name either though
they generally are a screen reader usability improvement.


On 10/29/18, Haim Roman < <EMAIL REMOVED> > wrote:
> I'm trying to make an existing site accessible. I'm trying to change its
> look as little as possible.
>
> How does one add a caption or summary to a data table that's visible only
> to screen readers?
>
> Thanks
> > > > >


--
Work hard. Have fun. Make history.