Created attachment 188696 [details] The second paragraph has a link that contains tabulator, which results to PAC2021 error When checking PDF documents exported from LibreOffice Writer, PAC2021 checker reports PDF/UA Basic requirements ISO3200-1 Structural parent tree "Inconsistent entry found" errors,if document has links that contain tabulator.
Created attachment 188697 [details] PAC2021 screenshot of the "Inconsistent entry found" error
Confirming in Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 34387332173782498acd4998c7c665d04ebc3c7d CPU threads: 15; OS: Windows 10.0 Build 19045; UI render: default; VCL: win Locale: hu-HU (hu_HU); UI: en-US Calc: threaded also in 7.4, 7.0, 6.2, but not yet in 6.1.
Wrong info, if the Tagged PDF option is enabled, then even 3.3 creates a wrong file.
I would just like to add that, while it may seem that this bug affects only a very small number of users, because who uses tabulators inside links. The reality is quite the opposite, the default "Table of Contents" configuration places number, entry, TABULATOR and page number within single link element. By solving this issue, you remove one PAC20201 issue type (with each heading adding failure count by one) from every new LO generated PDF-document that contains Table of Contents.
Michael Stahl committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/4c5283a3a11008a06a995c49ed777734dc1f6066 tdf#156565 sw: PDF/UA export: only one Link ILSE per link It will be available in 24.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.
fixed on master
Michael Stahl committed a patch related to this issue. It has been pushed to "libreoffice-7-6": https://git.libreoffice.org/core/commit/bc3d8776a49c898710fd689f2d8ba7abf0db9954 tdf#156565 sw: PDF/UA export: only one Link ILSE per link It will be available in 7.6.3. 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.
Created attachment 190547 [details] Screenshot of new PAC2021 error from links that are divided by a line break !!! IMPORTANT !!! I tested this change in LO_7.6.3 Nightly from 28.10 and it appears to cause a new accessibility bug that maybe even more serious then the one fixed. After this change both Acrobat and PAC2021 report link tagging errors in cases where a line break divides a link text to two lines. PAC2021 * Nesting of ”Link” annotations inside ”Link” structure elements * ”Link” annotation is not nested inside a ”Link” structure element See the attached screenshot and example files.
Created attachment 190550 [details] Example odt-file for the line break bug
Created attachment 190551 [details] Example PDF-file for the line break bug
Michael Stahl committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/a71da3b7a80ca32b595a8ca0ea3da650b0af376c tdf#156565 sw: PDF/UA export: split Link SE at line break It will be available in 24.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.
thanks for testing, that's a good find, should be fixed now see also bug 157816 for more Link problems
(In reply to Michael Stahl (allotropia) from comment #12) > thanks for testing, that's a good find, should be fixed now Thank you for fixing this. I haven't tested this fix eyet, but I thought I should ask if this fix also solves a case where the link contains a forced line break as I did not mention this case earlier.
I tested the latest fix with LO24.2 from 6.11.2023 and all link errors are now gone. It also fixes the forced line break case I mentioned in my last message. Good work! I quess it is too late to get the fix to LO 7.6.3 , but hopefully it will be available in 7.6.4
Michael Stahl committed a patch related to this issue. It has been pushed to "libreoffice-7-6": https://git.libreoffice.org/core/commit/6898f3ad90f2128de78726e689318bc3565b644a tdf#156565 sw: PDF/UA export: split Link SE at line break It will be available in 7.6.4. 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.