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: 220.127.116.11.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
Created attachment 183791 [details]
The example file exported to PDF
Created attachment 183792 [details]
Screenshot of the issue in the PAC tool
Arch Linux 64-bit, X11
Version: 18.104.22.168.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
Built on 7 March 2023
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.