Skip to content

Support tagged content in PDF exports for accessible heading structure #3199

@WestphalDenn

Description

@WestphalDenn

Describe the Bug

I am a blind user of Bookstack. Using it in general works fine. There is one thing though I have noticed.

When exporting a page to a PDF-File, the heading-structure set in the editor is not seen by the screenreader. It appears that the tags used to provide this kind of information to assistive technologies is isregarded during the export process.

It would help a great deal if the formating is preserved during exports to PDF. That ensures that the exported PDF-Files can be read and efficiently navigated by all people.

Thank you for taking the time to fix this. I'll gladly provide more info if necessary.

Steps to Reproduce

  1. open a page in bookstack which has at least one heading.
  2. export the page as PDF.
  3. Open the PDF
  4. Using PDF-testing-tools of choice see that the heading(s) are just enlarged text and not tagged as headings.

Expected Behaviour

the exported PDF-File should preserve formating in an accessible way.

Screenshots or Additional Context

No response

Exact BookStack Version

21.12.2

PHP Version

No response

Hosting Environment

Cloudron-install

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions