Skip to content

PDF Accessibility add support for more pdf tags #538

@s-kirchner

Description

@s-kirchner

Currently, JasperReports has a very limited support of PDF tags in the current version, according to JasperReports itself, only the following tags are supported (https://github.com/Jaspersoft/jasperreports/blob/master/demo/samples/accessible/README.md):

Currently supported tags

JasperReports library accessibility support currently covers HTML and PDF export formats and allows screen readers to correctly identify and read through the following types of structured content:

headings (h1 to h6)
bulleted and numbered lists
images and graphics alternate texts
tables
crosstabs

Every text element, that is not declared as a heading, list or table, is tagged as a span in the final PDF structure tree, which unfortunately leads to screenreaders reading everything in one line, without any breaks or such. The document itself is rendered as a <Sect> instead of a <Document> .

An example screenshot (on the left as it is rendered and on the right, how it should be rendered):

Image

Requested
Add support for PDF tags such as <P> and <Document>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions