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

Implement PDF Accessibility Support #110

Open
2 of 8 tasks
simoncozens opened this issue Jun 21, 2015 · 11 comments
Open
2 of 8 tasks

Implement PDF Accessibility Support #110

simoncozens opened this issue Jun 21, 2015 · 11 comments
Labels
enhancement Software improvement or feature request

Comments

@simoncozens
Copy link
Member

Because software that discriminates against disabled users isn't good software.

Update: I've made a lot of progress on this but there's a lot still left to do:

  • Marked content
  • Ensuring marked content doesn't cross page boundaries
  • Manually marked-up Structured PDF
  • Automatically creating structure from commands
  • Role mapping
  • Artifacts
  • Graphics
  • ActualText
@simoncozens
Copy link
Member Author

Trying to understand the scope of this. At the very least:

  • We need to implement Structured PDF in libtexpdf.
  • We need to implement Tagged PDF in libtexpdf.
  • Content, artifacts, notes, lists, etc. must all be tagged and arranged in logical structure.
  • Graphics need to have Alt tags.
  • Text and documents must be tagged with their language.

Structured PDF is the biggie and will require a lot of libtexpdf hacking.

@alerque
Copy link
Member

alerque commented Jul 13, 2015

How much of this is implemented coming out of LaTeX and friends? Is this a matter of tracing and reproducing what happens and porting code into libtexpdf or does this need to pilot new ground?

@simoncozens
Copy link
Member Author

Well, there's this but I am not convinced it helps us very much, and it seems like a quick hack rather than a serious implementation. There was a discussion on the xetex mailing list: see this post and follow-ups.

I think in reality a complete approach is going to need libtexpdf support, and that's worth doing anyway because if future software which wants to output PDF decides to go with libtexpdf, having that support in place is a big plus.

@alerque
Copy link
Member

alerque commented Jul 13, 2015

Huh. Having run through that thread and down a few other goose trails, it's sounding more and more like this is a big kettle of fish!

@pkulchenko
Copy link
Contributor

Simon, SILE may be in a good position to implement the required changes given its processing, but it's likely to be quite a bit of work from my quick scanning of the docs.

I've had something similar in mind for cross-page linking I'm exploring for my project, so tags and their support are likely to come handy.

@alerque
Copy link
Member

alerque commented Sep 11, 2015

@simoncozens Note I moved your todo-list into the top post so that it would show up as a progress bar in the issue tracker.

@alerque alerque modified the milestones: v0.9.5, v0.9.6 Aug 12, 2016
@alerque alerque modified the milestones: v0.9.6, v0.9.7 Jan 11, 2019
@alerque
Copy link
Member

alerque commented Feb 29, 2020

@klpn's example repo showing how to build an tagged PDF with LaTeX from Pandoc with a Lua filter (discussion here) may be of use as a reference while implementing this.

@the-solipsist
Copy link

If this gets implemented, can SILE be used in place of LaTeX when making PDFs using pandoc?

@alerque
Copy link
Member

alerque commented Aug 24, 2020

@the-solipsist: This issue is completely orthogonal to that goal. Pandoc support is high on my list to do for other reasons. In fact since 2015 I've maintained a dirty but functional fork of Pandoc that includes a SILE writer.

See jgm/pandoc#6087 and the linked Draft PR. Once sile writer support is added it would be quite natural to also include it as an option for PDF conversion directly hiding the intermediate format and build details much like the current LaTeX writer does.

@the-solipsist
Copy link

Thanks, @alerque. I guess I phrased my question very poorly. I am specifically interested in accessible PDFs using pandoc, but with pdflatex as the pdf-engine, that doesn't seem possible as things stand. Accessible PDFs don't seem possible currently with SILE either. I was wondering about what I could do to create accessible PDFs in case SILE managed get to accessibility before LaTeX did, since my workflow depends only a little on LaTeX, but does depend heavily on pandoc.

So my question should have read: "Can SILE be used in place of LaTeX in order to make accessible PDFs using pandoc if issue #110 gets resolved?" The answer, as you've helpfully noted, is: "Not yet, but I'm working on it." I'll keep an eye on jgm/pandoc#6087. Thank you very much for your attempts to address the important issue of accessibility, as well as your work on bringing SILE to pandoc.

@alerque
Copy link
Member

alerque commented Aug 24, 2020

Got it. I guess you deduced the answer, but when both of these two lines of work are both done I think it will be quite natural for them to work together—probably just by default with no additional options/steps/work required.

@alerque alerque modified the milestones: v0.11.2, v0.11.x Sep 16, 2021
@alerque alerque modified the milestones: v0.12.1, v0.12.x Jan 12, 2022
@alerque alerque modified the milestones: v0.12.3, v0.12.x Mar 2, 2022
@alerque alerque removed this from the v0.12.x milestone Apr 18, 2022
@alerque alerque moved this to To do in Pandoc compatability Jun 24, 2022
@Omikhleia Omikhleia added the enhancement Software improvement or feature request label Mar 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Software improvement or feature request
Projects
Development

No branches or pull requests

5 participants