Boxed images trigger inappropriate use of Figure warning in PAC 2026

Aperta
#9,038 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
rust
Ambito
backend

Direzione di ricerca

Start by reading the figure placement and PDF export code paths, then compare how the boxed image and inline image from the reproduction are represented in the generated PDF. Use the provided Typst snippet and validate the result with PAC 2026.1 under PDF/UA-1 and PDF/A-2a; done means the boxed image no longer triggers the inappropriate Figure warning while preserving the inline case.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

accessibility bug pdf
Description

PAC 2026 reports the following warning:

Image

The warning can be reproduced with the following Typst snippet:

#set document(title: [Orchid Manual], author: "Jassiel Ovando F.")

= Hola
Jassiel Ovando F.
#box(image("../assets/images/ORCID_iD.svg", alt: "ORCiD logo", width: 1em))
#link("https://orcid.org/0000-0002-1825-0097", "0000-0002-1825-0097")

The resulting PDF (fig.pdf) triggers the warning. However, changing the Figure's placement to Inline resolves the warning, as demonstrated by fig-placement-inline.pdf.

This and the previous #9033 were compiled using PDF/UA-1 + PDF/A-2a.

The PAC version is 2026.1.

Operating system

Windows

Typst version
  • I am using the latest version of Typst
Lingua principale
Rust
Stelle
57.2k
Fork
1.8k
Merge medio
1g 17h
PR unite (30g)
22

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di typst/typst

Tutte le issue di typst/typst

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.