Accessible PDF Exports?

Brandon Ballentine's Avatar

Brandon Ballentine

23 Sep, 2015 01:30 PM

Hi,

I use Marked (which is awesome, BTW) mostly to create PDF versions of my Markdown documents. I work in an academic setting, and our materials need to be ADA compliant. I noticed that the exported PDFs do not include the alt text descriptions I add in my original Markdown files. Is there a way to add that info to the template?
Thanks,
Brandon

  1. Support Staff 1 Posted by Brett on 23 Sep, 2015 02:25 PM

    Brett's Avatar

    Hi Brandon,

    This is a good question. When Marked creates a paginated PDF, it uses
    the WebKit print system. As far as I can see, the attribute tags on
    links are not converted to anything useful in the output PDF. I'd be
    happy to work on a conversion system if there were a markup solution
    that would solve this, but I can't find evidence of any way to actually
    do it. I can use CSS to actually include the text in the output, but not
    as the invisible-but-accessible tags you'd get when using Acrobat, etc.

    If you know of any references for this, I'd welcome the info. I'm
    considering a more ground-up PDF engine in the future (after I finish
    the updated RTF export), that would allow me to build the PDF with
    templates. Currently, though, it's based on the same system you'd have
    if you printed from Safari.

    -Brett

  2. 2 Posted by Brandon Ballent... on 24 Sep, 2015 11:03 AM

    Brandon Ballentine's Avatar

    Hi Brett,

    Thanks for the quick response. I will keep an eye out for a markup system to handle the attributes. If I find anything, I will let you know!

    Thanks,
    Brandon

    Sent from my iPhone

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac