Bug 140289 - PDF/UA export has no/incorrect tab order
Summary: PDF/UA export has no/incorrect tab order
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
7.1.0.3 release
Hardware: All All
: medium normal
Assignee: Michael Stahl (allotropia)
URL:
Whiteboard:
Keywords: accessibility
Depends on:
Blocks: PDF-Accessibility
  Show dependency treegraph
 
Reported: 2021-02-09 09:36 UTC by Dustin Matzel
Modified: 2023-09-18 11:39 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Example odt file (20.95 KB, application/vnd.oasis.opendocument.text)
2021-02-09 09:36 UTC, Dustin Matzel
Details
PDF file which was created from lo (104.02 KB, application/pdf)
2021-02-09 09:37 UTC, Dustin Matzel
Details
error message from adobe acrobat (78.61 KB, image/png)
2021-02-09 09:38 UTC, Dustin Matzel
Details
Fixed pdf by adobe acrobat (64.73 KB, application/pdf)
2021-02-09 09:38 UTC, Dustin Matzel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dustin Matzel 2021-02-09 09:36:51 UTC
Created attachment 169605 [details]
Example odt file

Description:
When a document is exported as a pdf, the tab order seems to be set incorrectly or not set at all. When a pdf is tested for accessibility using Adobe Acrobat Pro DC, it always shows that the "Tab order" test failed for every page.
Adobe Acrobat can fix this issue with the following statement:
Tab order set to match structure order in all pages successfully.

Espacially with the new PDF/UA export, exported documents should not fail the accessibility tests.

Tested:
Tested on 7.1.0 and dialy master build, which includes the fix for bug #139643.

Steps to reproduce:
1. Open new Writer document and add a title in the preferences.
2. Add 10,000 words lorem ipsum
2. "Export as PDF..." with "Universal Accessibillity (PDF/UA)" enabled.
3. Accessibility check with Adobe Acrobat Pro DC: Tab order - failed

Reproducible: Always, all OSs

Attachments:
- Example odt
- Example pdf created from lo
- Screenshot of the issue in Adobe Acrobat Pro DC
- Example pdf where the tab order was corrected by Adobe Acrobat Pro DC
Comment 1 Dustin Matzel 2021-02-09 09:37:33 UTC
Created attachment 169606 [details]
PDF file which was created from lo
Comment 2 Dustin Matzel 2021-02-09 09:38:07 UTC
Created attachment 169607 [details]
error message from adobe acrobat
Comment 3 Dustin Matzel 2021-02-09 09:38:38 UTC
Created attachment 169608 [details]
Fixed pdf by adobe acrobat
Comment 4 Buovjaga 2022-02-16 15:02:06 UTC
I don't have Acrobat pro. I downloaded this freeware thing, but it doesn't find any problems with your example PDF: https://www.access-for-all.ch/en/pdf-accessibility-checker.html
Comment 5 Dustin Matzel 2022-02-17 13:50:54 UTC
That is correct. PAC is a good accessibility checker but it does not find as many accessibility issues as Acrobat.

I tested it again with LO 7.3.0.3 and the issue still occurs. When I do the same thing with Microsoft Word, I do not have this issue.
Comment 6 Buovjaga 2022-02-17 13:55:03 UTC
I think I will just set this to new as the confirmation is coming from Acrobat.
Comment 7 Michael Stahl (allotropia) 2023-09-18 11:39:46 UTC
this should have been fixed by:

https://git.libreoffice.org/core/commit/fa3f04bdd4f73a1b3be70dfb709c44638ef7e3d9

at least veraPDF is happy with it; i don't have Acrobat to check.