Bug 152233

Summary: FILESAVE PDF PAC tool reports "Text object not tagged" error with signature line
Product: LibreOffice Reporter: Gabor Kelemen (allotropia) <kelemeng>
Component: Printing and PDF exportAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: ilmari.lauhakangas
Priority: medium Keywords: accessibility
Version: 7.5.0.0 alpha0+   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 139007    
Attachments: Example file with signature line object
The example file exported to PDF
The error reported by PAC tool

Description Gabor Kelemen (allotropia) 2022-11-26 09:38:37 UTC
Created attachment 183800 [details]
Example file with signature line object

When the attached file with signature line is exported to PDF with PDF/UA enabled and the file is checked in the PAC tool, the reported error is "Path object not tagged" and "Text object not tagged".

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:

Validation information
Rule	Status
Specification: ISO 14289-1:2014, Clause: 7.1, Test number: 3	
Content shall be marked as Artifact or tagged as real content	Failed
4 occurrences 	Hide
SESimpleContentItem	
parentStructureTag != null || parentsTags.split('&').filter(elem => elem == 'Artifact').length > 0	
root/document[0]/pages[0](1 0 obj PDPage)/contentStream[0](2 0 obj PDSemanticContentStream)/content[2]/contentItem[0]
root/document[0]/pages[0](1 0 obj PDPage)/contentStream[0](2 0 obj PDSemanticContentStream)/content[2]/contentItem[1]
root/document[0]/pages[0](1 0 obj PDPage)/contentStream[0](2 0 obj PDSemanticContentStream)/content[2]/contentItem[2]
root/document[0]/pages[0](1 0 obj PDPage)/contentStream[0](2 0 obj PDSemanticContentStream)/content[2]/contentItem[3]
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-26 09:42:28 UTC
Created attachment 183801 [details]
The example file exported to PDF
Comment 2 Gabor Kelemen (allotropia) 2022-11-26 09:56:34 UTC
Created attachment 183803 [details]
The error reported by PAC tool
Comment 3 Buovjaga 2023-03-08 08:12:53 UTC
I don't get this error (nothing under Content). I get an error under Structure Tree:

"Figure" structure element used as root element

But it is pointing to the signature.

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: a179f6c91692076e7e17babf4890638caa398384
CPU threads: 2; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: en-US (en_FI); UI: en-US
Calc: threaded
Comment 4 Gabor Kelemen (allotropia) 2023-04-12 23:46:47 UTC
I can no longer reproduce the error message of this one with

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: fc6806c4be8585ce0d35a6b581bf8b3dbf858500
CPU threads: 14; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
Locale: hu-HU (hu_HU); UI: hu-HU
Calc: threaded

and uploading to VeraPDF or checking with PAC tool locally.