On 4/7/25 22:08, Hans Hagen wrote:
> On 4/4/2025 3:37 AM, Matthias Weber wrote:
>> [...]
>> in order to provide screen readability (but the above doesn’t
>> work, the PDF doesn’t have the alternate text).
>
> This one will add an Alt to the element
>
>     \externalfigure[cow][label={this is a cow}]

Matthias,

this should work:

    \enabledirectives [backend.usetags=crap]
    \setuptagging[state=start]
    \setupstructure[state=start]
    \setupbackend
      [format=PDF/A-3a,
       intent=sRGB IEC61966-2.1,
       level=0]
    \setupbackend[format=pdf/ua-1]

    \setupexternalfigures[location=default]
    \starttext
    \externalfigure[cow][label={this is a cow}]
    \stoptext

Let us know whether your Acrobat reads the text (but this is validated
fine by veraPDF).

I hope it helps,

Pablo
___________________________________________________________________________________
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