Open juh2600 opened 4 years ago
@josephreed2600 - thanks for the bug report and offering to help. I'm just getting back in to this project after some distractions and will start putting together a roadmap soon. I'll get back to you when I see how this fits and what might be required to ship something useful.
I do not see any tags generated on a simple dummy file:
\documentclass{scrreprt}
\usepackage{accessibility}
\begin{document}
text.
\end{document}
Although it runs without errors or warnings in pdftex.
So it's not just an issue with the example file. It's not working at all.
Did you try \usepackage[tagged]{accessible}?
I hadn't because I read the manual p. 5/6:
Gibt man keine Optionen an, so wird ein PDF mit den Standardoptionen erzeugt. D. h. es wird Tagged PDF mit einer geschachtelten Struktur erzeugt.
Indeed, when I use \usepackage[tagged]{accessibility}
I get a PDF with a tag. I think the documentation should win here. But even this minimal example does not produce accessible pdf:
Although when tagging is on and the tags are visible in Acrobat, we get this error in PAC "Tagged content and artifacts" for the very exact content that is tagged.
Hm. So with a comparable document from another source (e.g. MS Word), does the error still occur / get flagged by PAC?
I'm interested in whether this is a problem from latex or something else.
Ok, thanks. Could you upload the word document (attach to the comment) for comparison, please? Thanks!
I think I have one more hint on this. When I open my minimal example in Acrobat, open the tags tab, click on a content container the correct paragraph text is highlighted with a blue frame:
However, in a normal document you would see the content. See the same pdf again after I disable accessibility and add the tags automatically in Acrobat:
Does that ring a bell?
So... looking at the MWE from@viktoriasee, I see two things:
<p>
container.This gives us some places to look.
I agree with 2. But the «Document» master tag is fine. It's one of the few things where accessibility
does a better job than Acrobat.
PDF/UA checker PAC3 complains if there is no such master tag.
Yes, please keep the top-level Document
tag for PDF/UA checking.
Describe the bug Text objects in the example article are not tagged, resulting in a failed accessibility check.
To Reproduce Steps to reproduce the behaviour:
Expected behavior Text objects in a PDF compiled with this package should probably be tagged; this feels to me within the scope of the project.
Log messages article_PAC_Report.pdf![TextObjectNotTagged](https://user-images.githubusercontent.com/17363676/63296715-9a32c180-c284-11e9-83ef-1d4be58f49a4.PNG)
Additional notes This is not isolated to the example article; I discovered this while working on my own document.
I appreciate the work you've put into this project! If there's anything I can do to help, I'd be glad to. I'm by no means an expert on LaTeX or PDF, but I've been studying the incantations lately for my accessibility projects, and I'm quite eager to see this work as well as it can. I'd rather spend a week in vi writing LaTeX than an hour in Acrobat.