Bug 152225 - FILESAVE PDF PAC tool reports "Possibly inappropriate use of a Div structure element"
Summary: FILESAVE PDF PAC tool reports "Possibly inappropriate use of a Div structure ...
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
7.5.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: accessibility
Depends on:
Blocks: PDF-Accessibility
  Show dependency treegraph
 
Reported: 2022-11-25 18:56 UTC by Gabor Kelemen (allotropia)
Modified: 2023-04-06 08:51 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file with frame (30.83 KB, application/vnd.oasis.opendocument.text)
2022-11-25 18:56 UTC, Gabor Kelemen (allotropia)
Details
The example file exported to PDF (32.49 KB, application/pdf)
2022-11-25 18:58 UTC, Gabor Kelemen (allotropia)
Details
Screenshot of the issue in the PAC tool (207.94 KB, image/png)
2022-11-25 19:00 UTC, Gabor Kelemen (allotropia)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kelemen (allotropia) 2022-11-25 18:56:43 UTC
Created attachment 183790 [details]
Example file with frame

When the attached file with a frame is exported to PDF with PDF/UA enabled and the file is checked in the PAC tool, the reported error is "Possibly inappropriate use of a Div structure element"

1, Open attached file
2, Export it as PDF, with enabled PDF/UA option
3, Check with the PAC tool: https://pdfua.foundation/en/pdf-accessibility-checker-pac

PAC would report the error on the attached screenshot.

VeraPDF https://demo.verapdf.org/ with PDF/UA setting on the second page reports no error.


Version: 7.5.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 5116d6ad85d804e7b7897bc57a4a4bf9d5bed4f1
CPU threads: 14; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (hu_HU); UI: en-US
Calc: threaded
Comment 1 Gabor Kelemen (allotropia) 2022-11-25 18:58:06 UTC
Created attachment 183791 [details]
The example file exported to PDF
Comment 2 Gabor Kelemen (allotropia) 2022-11-25 19:00:20 UTC
Created attachment 183792 [details]
Screenshot of the issue in the PAC tool
Comment 3 Buovjaga 2023-03-07 09:56:19 UTC
Repro

Arch Linux 64-bit, X11
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 0484a9a3f5e2ecb678f6fb41bbb251529e89c00d
CPU threads: 8; OS: Linux 6.2; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 7 March 2023
Comment 4 Michael Stahl (allotropia) 2023-04-06 08:51:04 UTC
this is a warning, and a relatively pointless one as far as Writer is concerned.

the point is, PDF/UA strongly discourages the use of floating text frames because those aren't in the "logical reading order" of the document.

but if the user puts in a text frame, it has to be tagged somehow and the "Div" is the most appropriate tag.

i don't see anything we could fix in the PDF export.