WeasyPrint icon indicating copy to clipboard operation
WeasyPrint copied to clipboard

PDF/UA aria and role attributes

Open oraslaci opened this issue 3 months ago • 1 comments

Good day!

Thank you for the awesome library! We have html documents, which we need to convert to accessible PDFs. These templates contain image tags that are marked with aria-hidden="true". Unfortunately in the generated PDF, these are images are still regarded as figures without a caption instead of becoming artifacts. Would it be possible to fix this?

Thank you in advance, Laszlo.

oraslaci avatar Sep 10 '25 13:09 oraslaci

Thanks for the report. Yes, that would be useful.

liZe avatar Sep 10 '25 15:09 liZe