[jira] [Created] (FOP-3322) fox:alt-text not written to /Contents on internal link annotations

"matthew roth (Jira)" <[email protected]> Wed, 3 Jun 2026 14:06:00 +0000 (UTC)
Newsgroups gmane.text.xml.fop.devel
Message-ID <[email protected]>
matthew roth created FOP-3322:
---------------------------------

             Summary: fox:alt-text not written to /Contents on internal lin=
k annotations
                 Key: FOP-3322
                 URL: https://issues.apache.org/jira/browse/FOP-3322
             Project: FOP
          Issue Type: Bug
    Affects Versions: 2.11
         Environment: - Linux=20
- Apache FOP 2.11
- `<accessibility>true</accessibility>`
- `<pdf-ua-mode>PDF/UA-1</pdf-ua-mode>`
- Validated with veraPDF 1.30.1, PDF/UA-1 profile
            Reporter: matthew roth
             Fix For: main
         Attachments: fop.xml, minimal-links-1.pdf, minimal-links-a11y-ua1-=
1.xml, minimal-links.fo

When `<accessibility>true</accessibility>` and `<pdf-ua-mode>PDF/UA-1</pdf-=
ua-mode>`
are enabled, `fox:alt-text` on `fo:basic-link` with `internal-destination` =
sets the
`/Alt` attribute on the `/Link` structure element but does **not** set the =
`/Contents`
key on the `PDLinkAnnot` annotation dictionary.

ISO 14289-1 (PDF/UA-1) =C2=A77.18.5 requires:

> Links shall contain an alternate description via their Contents key as de=
scribed
> in ISO 32000-1:2008, 14.9.3.

External-destination links appear to get `/Contents` set correctly; only
internal-destination links are affected.

A =C2=A0fix should propagate `fox:alt-text` to the `/Contents` entry of the=
 annotation
dictionary for both link types.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)