You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix tagpdf alt text warning parsing and improve guidance
- Fix regex in parse-error.ts to handle tagpdf line continuations when
filenames are long (the warning wraps across multiple (tagpdf) lines)
- Update warning message to recommend fig-alt instead of caption-as-alt
- Add printsMessage check to caption-not-alt-ua test to verify the
missing alt text warning is surfaced
- Use labeled figure in caption-not-alt-ua test to avoid unrelated UA-2
structural nesting issue with unlabeled figures
- Add ua2-unlabeled-figure-caption test documenting known LaTeX/tagpdf
limitation where unlabeled captioned figures produce <Caption> directly
under <Document> instead of inside a grouping element
`PDF accessibility: Missing alt text for image(s): ${fileList}. Add alt text using  syntax for PDF/UA compliance.\n`,
207
+
`PDF accessibility: Missing alt text for image(s): ${fileList}. Add alt text using fig-alt in YAML or {fig-alt="description"} on the image for PDF/UA compliance.\n`,
0 commit comments