Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tagging Structure Issues Related To Images And Tables #490

Open
die573 opened this issue Oct 25, 2024 · 3 comments
Open

Tagging Structure Issues Related To Images And Tables #490

die573 opened this issue Oct 25, 2024 · 3 comments

Comments

@die573
Copy link

die573 commented Oct 25, 2024

I have noticed that the exported PDF have structural problems related to accessibility with images and tables when reviewed with PAC or VeraPDF.
In particular:

Figure element on a single page with no bounding box

I have tried wrapping the image into a frame element and setting the following property <property name="net.sf.jasperreports.export.pdf.bounding.box" value="true"/> but it doesn't consider it at all in the resulting structure.

Table headers has no associated subcells

I have used the table element and the accessibilty tags related to it but still the TD rows doesn't result to be associated with their TH.

Also, could those issues be solved using the PDF Producer plugin based on iText7 (https://github.com/Jaspersoft/jasperreports-pdf-lib7) instead of iText2?

@teodord
Copy link
Collaborator

teodord commented Oct 25, 2024

Hi,

I am not familiar with the net.sf.jasperreports.export.pdf.bounding.box configuration property. Where did you find it documented?
The official configuration reference is here: https://jasperreports.sourceforge.net/config.reference.html

Can you upload some JRXML and maybe some PDF that shows the problems you describe?

Thank you,
Teodor

@die573
Copy link
Author

die573 commented Oct 25, 2024

As said, here is a ZIP folder with a simple example I made to clarify the problems with images and tables. In addition, the resulting PDF and the screenshots of PAC result. In order for the image to be tagged properly, both, figure tag and alternative tag should be wrapped inside a paragraph. Also the table's border is another tagging related problem, since it isn't recognize nor as a character of certain language nor as a decorative image.

Thanks in advance

Example
esempio_jasper_github.zip
Pdf
simpleEx.pdf

Structure
structureExample

Table headers issue
cellIssues1

Table path not tagged issue
cellIssues2

Image bounding box not found issue
imagesIssues

@TIBCOSoftware TIBCOSoftware deleted a comment Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@teodord @die573 and others