Skip to content
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

Read document structure and apply PDF accessibility tag? #873

Open
gobsmack opened this issue Aug 2, 2024 · 1 comment
Open

Read document structure and apply PDF accessibility tag? #873

gobsmack opened this issue Aug 2, 2024 · 1 comment

Comments

@gobsmack
Copy link

gobsmack commented Aug 2, 2024

I am working on a project to make existing PDF documents accessible. I am trying to switch from PdfSharp to PdfPig because it seems to handle metadata better. My goal is to read the document structure, and then add accessibility tags to the PDF.

I've got a pretty good start, using the PDFMerger. So, I can copy the input document to an output document with all the metadata. But I'm stuck on the tags (the whole point). I'm getting a tagged PDF. But there are no tags.

It looks like this is all written into PdfPig already. PdfPig can analyze the document structure. So, I wonder if there is a way to write the tags based on the document structure.

Am I missing something? Could somebody point me in the correct direction?

@gobsmack
Copy link
Author

gobsmack commented Aug 2, 2024

More specifically, I wonder if it's possible to create the tag structure based on the bookmark structure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant