Re: Alt text on HTML tables

Subject: Re: Alt text on HTML tables
From: Nina Barzgaran <nina -dot- barzgaran -at- barzgaran -dot- at>
To: dick -at- rlhamilton -dot- net
Date: Sat, 29 Apr 2023 02:06:48 +0200

I am no expert on alt text in general, but have worked with HTML before, it's been a while though. First thing that comes to mind, thinking it over, if alt text is not allowed inside the table tag: Would you be able to use a div tag, right before the table and put the alt text in there...?

Just thinking.

Good luck!

Kind Regards
Nina

Am 28.04.2023 22:18, schrieb dick -at- rlhamilton -dot- net:

Is there a way to add alt text to a table?

The alt attribute is not allowed on table, and I don't see a good alternative.

I know that screen readers can read tables, but in this use case, the column and row labels are the only information of interest (the contents of the cells are examples that don't add any value).

I'd like to able to add alt text that a screen reader would provide first, so the user could choose to skip the table itself. The alt text would identify the rows and columns and then state that the cell data are samples and don't need to be read.

Any thoughts on how best to do this?

Thanks,
Richard Hamilton
-------
XML Press
XML for Technical Communicators
http://xmlpress.net
hamilton -at- xmlpress -dot- net

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Visit TechWhirl for the latest on content technology, content strategy and content development | https://techwhirl.com

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

You are currently subscribed to TECHWR-L as nina -dot- barzgaran -at- barzgaran -dot- at -dot-
To unsubscribe send a blank email to
techwr-l-leave -at- lists -dot- techwr-l -dot- com

Send administrative questions to admin -at- techwr-l -dot- com -dot- Visit
http://www.techwhirl.com/email-discussion-groups/ for more resources and info.

Looking for articles on Technical Communications? Head over to our online magazine at http://techwhirl.com

Looking for the archived Techwr-l email discussions? Search our public email archives @ http://techwr-l.com/archives
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Visit TechWhirl for the latest on content technology, content strategy and content development | https://techwhirl.com

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

You are currently subscribed to TECHWR-L as archive -at- web -dot- techwr-l -dot- com -dot-
To unsubscribe send a blank email to
techwr-l-leave -at- lists -dot- techwr-l -dot- com


Send administrative questions to admin -at- techwr-l -dot- com -dot- Visit
http://www.techwhirl.com/email-discussion-groups/ for more resources and info.

Looking for articles on Technical Communications? Head over to our online magazine at http://techwhirl.com

Looking for the archived Techwr-l email discussions? Search our public email archives @ http://techwr-l.com/archives


Follow-Ups:

References:
Alt text on HTML tables: From: dick

Previous by Author: RE: Copyright infringement
Next by Author: Re: Alt text on HTML tables
Previous by Thread: Alt text on HTML tables
Next by Thread: Re: Alt text on HTML tables


What this post helpful? Share it with friends and colleagues:


Sponsored Ads