When generating PDF/UA-compliant reports with net.sf.jasperreports.export.pdf.tagged=true, any graphical elements such as , , or that are styled with net.sf.jasperreports.export.pdf.tag = Artifact still cause PAC 2021/2024 to fail with the following error:
"Path object not tagged"
This occurs even when all accessibility-related properties are properly configured in the .jrxml template.
Steps to reproduce:
-
Create a simple .jrxml file that includes a or component.
-
Add this property to the element:
- Set the global export property in the report:
-
Export the report to PDF.
-
Open the result in PAC 2021 or PAC 2024 and run the accessibility check.
Expected behavior:
The graphic element should be correctly tagged as an Artifact in the PDF logical structure, and the PAC checker should not report it as untagged.
Actual behavior:
PAC reports an error:
"Path object not tagged"
This makes the generated PDF non-conformant with PDF/UA, even though the correct tagging property is used.
Tested on:
JasperReports Studio: 6.20.6 and 6.21.5
JasperReports library: same versions
PDF viewer: PAC 2024, Adobe Acrobat Pro DC