Does anyone know of any packages to help create latex tables (ie . tabular or tikzset object) with proper 508 compliant tags? When I put a table made by latex through a PDF tagger the text does not come through correctly.
There is a similar question here; LaTeX accessibility But the latest responses are from 2014 and I was hoping something has improved in the past 4 years.
Below is a MWE that produces a table. (Im using Sweave to knit the Latex)
\documentclass{article}
\usepackage{tikz}
\begin{document}
\SweaveOpts{concordance=TRUE}
\begin{tabular}{r | r }
TITLE 1 & Title 2 \\
More text & 2 \\
Other Text & 3 \\
\end{tabular}
\end{document}
This makes a fine table, but when read into acrobat it is not properly tagged as a table and the text does not come though properly.
The 508 compliance standards I am talking about are summarized here: https://webaim.org/techniques/tables/data
Basically the table is supposed to have tags like
<table>
<caption>My Table caption </caption>
<tr>
<th scope="col">Title 1</th>
<th scope="col">Title 2</th>
</tr>
<tr>
<th scope="row">Row 1</th>
<td>More Text </td>
<td>2</td>
</tr>
<tr>
<th scope="row">Row 2</th>
<td>Other Text</td>
<td>3</td>
</tr>
</table>
I would like to avoid programming regex to make this if possible!
