Code Monkey home page Code Monkey logo

Comments (12)

viktoriasee avatar viktoriasee commented on August 23, 2024 1

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.

from accessibility.

viktoriasee avatar viktoriasee commented on August 23, 2024 1

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:
missing content
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:
content there
Does that ring a bell?

from accessibility.

AndyClifton avatar AndyClifton commented on August 23, 2024

@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.

from accessibility.

viktoriasee avatar viktoriasee commented on August 23, 2024

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.

from accessibility.

AndyClifton avatar AndyClifton commented on August 23, 2024

from accessibility.

viktoriasee avatar viktoriasee commented on August 23, 2024

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:
pac3-latex-accessibility-minimal

from accessibility.

AndyClifton avatar AndyClifton commented on August 23, 2024

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.

from accessibility.

viktoriasee avatar viktoriasee commented on August 23, 2024

In short: no
A MS word created pdf with the content "Text." and file property title<> empty validates in PAC except from the PDF/UA metadata. No other errors.
Text.pdf
Text.docx

from accessibility.

AndyClifton avatar AndyClifton commented on August 23, 2024

Ok, thanks. Could you upload the word document (attach to the comment) for comparison, please? Thanks!

from accessibility.

AndyClifton avatar AndyClifton commented on August 23, 2024

So... looking at the MWE from@viktoriasee, I see two things:

  1. In the MWE generated using latex there is a highest-level "Document" branch in the PDF that shouldn't be there.
  2. In the MWE generated using latex there is no content in the <p> container.

This gives us some places to look.

from accessibility.

viktoriasee avatar viktoriasee commented on August 23, 2024

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.

from accessibility.

radinamatic avatar radinamatic commented on August 23, 2024

Yes, please keep the top-level Document tag for PDF/UA checking.

from accessibility.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.