Bug 159900 - FILESAVE PDF PAC tool reports possible unneeded use of Figure tag
Summary: FILESAVE PDF PAC tool reports possible unneeded use of Figure tag
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.3.0 release
Hardware: All All
: medium normal
Assignee: Tibor Nagy
URL:
Whiteboard: target:25.2.0 target:24.8.0.2
Keywords: accessibility
Depends on:
Blocks: PDF-Accessibility
  Show dependency treegraph
 
Reported: 2024-02-26 10:03 UTC by Gabor Kelemen (allotropia)
Modified: 2024-08-23 14:56 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
Example file from Writer with two images (39.34 KB, application/vnd.oasis.opendocument.text)
2024-02-26 10:03 UTC, Gabor Kelemen (allotropia)
Details
Screenshot of the PAC error message and the example file in Writer (56.63 KB, image/png)
2024-02-26 10:04 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) 2024-02-26 10:03:51 UTC
Created attachment 192783 [details]
Example file from Writer with two images

With the attached example file exported to PDF, the PAC tool reports a possible unneeded use of the Figure tag.

1. Open attached document. The images have their Alt text fields filled.
2. Export as PDF with PDF/UA enabled.
3. Check the PDF with the PAC tool
-> it gives a warning about a possible unnecessary use of the Figure tag

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 74185b8edf7f046a3372319da86a1d8ca0024c87
CPU threads: 15; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: default
Comment 1 Gabor Kelemen (allotropia) 2024-02-26 10:04:23 UTC
Created attachment 192784 [details]
Screenshot of the PAC error message and the example file in Writer
Comment 2 Gabor Kelemen (allotropia) 2024-02-26 12:22:25 UTC
Already happens in 3.3 with Tagged PDF option enabled, not a recent regression.
Comment 3 wjsim 2024-03-13 19:13:24 UTC
Hi there, thank you for reporting the bug. I also get the same warning using PAC tool and get the same warning about the figure.

I used versions:

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 6a064b1967e06e40be40817deff99d00c1a8554f
CPU threads: 16; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

Version: 24.2.1.2 (X86_64) / LibreOffice Community
Build ID: db4def46b0453cc22e2d0305797cf981b68ef5ac
CPU threads: 16; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
Comment 4 Commit Notification 2024-07-08 16:19:34 UTC
Tibor Nagy committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/611dc34f19deab7f13d00a4058f6a6ac6b50edb2

tdf#159900 sw: fix Figure tag placement attribute when exporting to PDF

It will be available in 25.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 5 Commit Notification 2024-07-24 17:21:49 UTC
Tibor Nagy committed a patch related to this issue.
It has been pushed to "libreoffice-24-8":

https://git.libreoffice.org/core/commit/0b97823b58c7bbdef34ed1e654290d72967c32f1

tdf#159900 sw: fix Figure tag placement attribute when exporting to PDF

It will be available in 24.8.0.2.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.