matthew roth created FOP-3322:
---------------------------------

             Summary: fox:alt-text not written to /Contents on internal link 
annotations
                 Key: FOP-3322
                 URL: https://issues.apache.org/jira/browse/FOP-3322
             Project: FOP
          Issue Type: Bug
    Affects Versions: 2.11
         Environment: - Linux 
- 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) §7.18.5 requires:

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

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

A  fix 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)

Reply via email to