[accessibility] Designating header cells in tables

Susan Jolly easjolly at ix.netcom.com
Mon Apr 4 21:29:00 CEST 2022


If text editor work-arounds are permiited what about prefixing the contents
of any cells intended as header cells with a prefix such as th:? 

-----Original Message-----
My embarrassingly naïve work-around for the moment is to add the following
line to my makefile after lwarp is run:

	# Post-process HTML output to fix table header cells.
	sed -i '/<table>/,/class="hline"/s/<td /<th / ;
/<table>/,/class="hline"/s/<\/td>/<\/th>/' $@

It only works because I happened to use \hline after the header row (an
assumption that holds for the single document of immediate interest, but
obviously not in general).
Of course, I remain keenly interested in Jonathan's TeX solution.

-----Original Message-----
From: accessibility <accessibility-bounces+jason=jasonjgw.net at tug.org> On
Behalf Of Jason White via accessibility
Sent: Monday, 4 April 2022 14:32
To: Jonathan Fine <jfine2358 at gmail.com>; accessibility at tug.org
Cc: bd at bdtechconcepts.com
Subject: Re: [accessibility] Designating header cells in tables


On 4/4/22 13:23, Jonathan Fine wrote:
> As someone like Jason who wants to convert a document, and who 
> presumably has a deadline, then I'm not so optimistic. I'm a complete 
> beginner (this is my first day on the job) with Lwarp. But if Brian 
> Dunn is able to help out with advice and wisdom then perhaps Jason's 
> deadline can be met (depending on when it is).

Fortunately, there is no specific deadline, as I can easily work around the
issue for now.

Let me know when you're ready for testing, though, or whether I can help in
other ways.







More information about the accessibility mailing list.