-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
presentation mode in table tagging can not be reverted #778
Comments
Clearly not being able to revert is a bug, but changing the names already causes some issues as the table structure is lost and so it is very hard to derive a reasonable layout. eg a 4x4 layout of paragraphs may just be "presentational" but if they are tagged as four Div and so derive to a 1x4 sequence of paragraphs it is hard to maintain the meaning. It would be good to be able to generate structure elements that would eventually derive to an html table with role=presentation. (This may require adjusting some constraints from the PDF tagging specs?) See the derived html from the code above at |
If I had an idea which structure in PDF correctly derives ... ;-) I have some doubt that we can use Table + some attribute in PDF. |
Shame if we can't use /Table, otherwise you'd need to somehow inject enough CSS to recreate a table layout (although my comment doesn't block this issue, more a side comment, which perhaps I should open as a separate issue so this one can be closed by the current PR) |
This issue arose when I asked Ulrike about the tabbing environment, which is not currently supported by tagging and which might be replaced by a presentation table. In HTML4/5, alignment in tables should be managed by a CSS attribute rather than by something like For the purpose of tagging a tabbing-like layout, however, would simply using a tabular environment for the rows/columns (rather than tabs and lines) produce appropriately tagged content? The rows and columns would be arranged in |
@John02139 The new code in latex3/latex2e#1607 will change the tagging of "presentation tables". They will have the normal table tags and set the ARIA attribute role=presentation (https://www.w3.org/WAI/ARIA/apg/practices/hiding-semantics/). This better for html derivation as it allows to keep the layout without lots of css.
One can add an |
Thank, Ulrike, that sounds excellent. Will the addition of alignment attributes be handled automatically by the tagged latex code or by the end-user ? |
If one use
\tagpdfsetup{table/tagging=presentation}
this changes the tag names but it is not possible to revert that, which is problem if one want to nest a real table inside the presentation table.The text was updated successfully, but these errors were encountered: