On 9/22/24 13:15, Hans Hagen via ntg-context wrote:
On 9/21/2024 7:16 PM, Steffen Wolfrum wrote:
Hi,
as publishing houses (at least in Germany) are forced to provide «alt text» with their PDF-publications (from June 2025 on),
Hi Steffen and Hans, this will be a requirement for the whole European Economic Area. This is where the Accessibility Directive should be applied. Since this may not be the single requirement, I started a new wiki page for that: https://contextgarden.net/Accessibility. Please, feel free to contribute (as ever).
What is the equivalent in ConTeXt LMTX?
afaik there no such tag on an image in pdf so one has to wrap, i'll add
Alternate descriptions are covered in https://opensource.adobe.com/dc-acrobat-sdk-docs/pdfstandards/PDF32000_2008..... From what I see in the sample, they are very similar to /ActualText, but with /Alt instead (related to a marked section). They are applied to all items that have no direct text translation, such as images or formulas (to alternatively describe them in text).
\startPDFalternativetext{when will the german government provide full acrobat for free (livelong) to developers} \scale[s=3]{\rotate[rotation=30]{DE}} \stopPDFalternativetext
to play with but integrating something more nice also will b emore confusing ... the problem is that anything can be an image (liek a mp picture)
I think this is great, since this allows it to be applied as allowed by the PDF spec. Also for the expansion of abbreviations, /E is provided for marked sections (https://opensource.adobe.com/dc-acrobat-sdk-docs/pdfstandards/PDF32000_2008....), the same way as /ActualText (but it expects whole words). It would be great to have synonyms added the /E information by default. I think this may be a requirement for text-to-speech conversions. Many thanks for your help, Pablo