[jira] [Updated] (FOP-3322) fox:alt-text not written to /Contents on internal link annotations
"matthew roth (Jira)" <[email protected]> Fri, 5 Jun 2026 21:59:00 +0000 (UTC)
| Newsgroups | gmane.text.xml.fop.devel |
|---|---|
| Message-ID | <[email protected]> |
[ https://issues.apache.org/jira/browse/FOP-3322?page=3Dcom.atlassian.=
jira.plugin.system.issuetabpanels:all-tabpanel ]
matthew roth updated FOP-3322:
------------------------------
Description:=20
When the following is enabled
{code:xml}<accessibility>true</accessibility>
<pdf-ua-mode>PDF/UA-1</pdf-ua-mode>
{code} =20
{{fox:alt-text }} on {{ fo:basic-link}} with {{ internal-destination}} set=
s the
{{/Alt}} attribute on the {{/Link}} structure element but does *not* set th=
e {{/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.
was:
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.
> 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=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
> Priority: Major
> Labels: Accessibility
> Fix For: main
>
> Attachments: fop.xml, minimal-links-1.pdf, minimal-links-a11y-ua1=
-1.xml, minimal-links.fo
>
>
> When the following is enabled
> {code:xml}<accessibility>true</accessibility>
> <pdf-ua-mode>PDF/UA-1</pdf-ua-mode>
> {code} =20
> {{fox:alt-text }} on {{ fo:basic-link}} with {{ internal-destination}} s=
ets 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 =
described
> > in ISO 32000-1:2008, 14.9.3.
> External-destination links appear to get {{/Contents}} set correctly; onl=
y
> 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)