Open TobiBS opened 4 years ago
Thanks, @TobiBS. That’s not good.
You should try adding the option tagged
and either flatstructure
or highstructure
to the call to accessibility, i.e.,
\usepackage[tagged, flatstructure]{accessibility}
and see if that changes anything?
Thank you @AndyClifton. I added \usepackage[tagged,highstructure]{accessibility}
to my code and indeed, now Adobe Reader shows: Tagged PDF: Yes
. But I cannot check if this is really creating a tagged PDF now through a validator or similar.
However this is contradictory to the German documentation (https://github.com/AndyClifton/accessibility/blob/master/source/v2x/accessibility-Anleitung-DE.pdf): Gibt man keine Optionen an, so wird ein PDF mit den Standardoptionen erzeugt. D. h. es wird Tagged PDF mit einer geschachtelten Struktur erzeugt.
This means: If you are not selecting any option, the PDF will be created with standard options, which are a tagged pdf with the cascading structure.
If I can support you with updating the German documentation, please let me know, but I couldn't find it in the repository.
Thanks @TobiBS - that's good to know. It'll be interesting to see if the PDF doc passes something like PAC3.
I'd noticed that contradiction as well. Thank you for offering to update the documentation; that would be very welcome! (I think the documentation should reflect how the code works now, rather than updating the code to fix this bug).
The documentation is actually built from the accessibility.dtx
file in source/v2. This .dtx file is also what creates the .sty file. The files need to be processed using latex accessibility.ins
. It's all a bit annoying until one realises that keeping the documentation and style together in one file is great from a maintenance perspective! This whole process is described in HOWTO.md
.
I suggest:
Duplicate of #12
As asked at https://tex.stackexchange.com/questions/550778/how-can-i-check-the-tagging-and-accessiblity-of-a-pdf-file?noredirect=1#comment1391644_550778 I am using the following code:
And other than expected, Adobe Acrobat does not show that the PDF is tagged and there are also no tags in stream visible:![grafik](https://user-images.githubusercontent.com/37176593/85690395-d10f0a80-b6d3-11ea-81ac-8349e6d265c1.png)
This is true on two different machines, they run with: