WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: [External Sender]Table Accessibility

for

From: Graham Armfield
Date: Jun 9, 2020 8:17AM


As a suggestion, if a table benefits from some kind of description or
'alternate text' then it's probably best to use the <caption> element.

From previous testing (admittedly some time ago) the <caption> element
should be the first child of the <table> element or some screen readers
won't voice it.

The <caption> element can be styled using CSS if required.

Many browsers/screen readers still support the summary attribute on the
<table> element, but this attribute was deprecated some years ago, so is
not recommended for future use.

Regards
Graham Armfield

coolfields.co.uk <http://www.coolfields.co.uk/>;
M:07905 590026
T: 01483 856613
@coolfields <https://twitter.com/coolfields>


Khaleel asked " A quick question related to adding Alternative Text to

> Tables. Would a table be inaccessible if it lacks Alt Text? "
>
>
>