On 2/14/2025 4:50 PM, Pablo Rodriguez via ntg-context wrote:
On 2/14/25 11:57, Steffen Wolfrum wrote:
Am 14.02.2025 um 11:36 schrieb Steffen Wolfrum <cont...@st.estfiles.de>:
[…]
Does that mean that this example should provide the urgently
desired alt-text:
[…]
Really?! If so, I will send it to the publishers so they can check
if it fulfills their needs.>
I just received the feedback from the publishers: there is no
alternative text in this example.
Hi Steffen and Hans,
there is no alternative text in the PDF code because of lpdf-ini.lmt:
local f_actual_text = formatters["/Span <</ActualText %s >> BDC"]
- local f_alternative_text = formatters["/Span <</AltText %s >> BDC"]
+ local f_alternative_text = formatters["/Span <</Alt %s >> BDC"]
local s_actual_text_e <const> = "EMC ET"
The PDF key name is "Alt"
(https://opensource.adobe.com/dc-acrobat-sdk-docs/pdfstandards/PDF32000_2008.pdf#page=567),
from PDF-1.3
(https://github.com/pdf-association/arlington-pdf-model/blob/master/tsv/1.3/StructElem.tsv)
to the latest version
(https://github.com/pdf-association/arlington-pdf-model/blob/master/tsv/latest/StructElem.tsv).
There seems to be no "AltText" key in the PDF specification, afaIk.
Besides other questions related to the accessibility directive, it would
be great to fix this issue.
As you tested viewers before, can you check which ones do something with
Alt and/or ActualText at all?
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________