Hi Pablo,

(resending since my attachments were too large for the mailing list the
first time)

I did some experiments yesterday, and I was able to produce a file (PDF
and source attached) that validates as PDF/UA-2 with veraPDF and that
Ulrike Fischer and David Carlisle (who work on the LaTeX accessibility)
confirmed was actually accessible.

I started from the "lpdf-tag-imp-testing.lmt" file that you posted on
the mailing list a while back (I've attached my modified version), and I
also had to modify "lpdf-tag.lmt" (also attached). To get the WTPDF
tags, I also had to uncomment the "conformance" lines in both
lpdf-fmt-imp-ua2.lmt and lpdf-fmt.lmt.

Some notes:

- I had to manually tag every paragraph with
  \startparagraph/\stopparagraph, which was annoying.

- I had to hardcode mapping all sections to H1 for the validation to
  pass; this obviously won't work in real documents. There's code that
  purports to handle this at the end of "lpdf-tag-imp-testing.lmt", but
  I couldn't get it to work.

- "\setupbackend[format=pdf/ua-2]" needs to come before
  "\setuptagging[state=start]", otherwise lots of stuff will silently
  break.

- I've heard that it's actually usually better to put the TeX source in
  the Alt text for math instead of the current generated prose, because
  most people reading math are familiar with TeX anyways.

- The file validates successfully, but there are lots of "Nested MCID"
  warnings.

Thanks,
-- Max

<<attachment: attachments.zip>>

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to