Description: Pictures can be inserted via Insert - Picture. If you enter an alternative text for the image, it will be recognised after export to a PDF file. If you insert a screenshot with alternative text, it will only be recognised when the file is closed and reopened and then exported as a PDF file. Message PAC 3: Alternative text Not available Download PAC 3: https://www.access-for-all.ch/ch/pdf-werkstatt/pdf-accessibility-checker-pac/download-pac-3.html Steps to Reproduce: 1. Windows: Create screenshot with CTRL+ALT+S. 2. Insert into the document with CTRL + V. 3. Save document 4. Export as PDF 5. Start PAC 3: "Message Alternative text Not available". 6. Reopen document, export again as PDF 7. No message in the PAC-3 tool8. First recognize the bug wirh LO 6.4. - all versions Actual Results: No alternate TExt Expected Results: Alternate text before cloing the document Reproducible: Always User Profile Reset: Yes OpenGL enabled: Yes Additional Info: nothing
In Version 7.1.4 tritt der Fehler weiterhin auf
This behaviour is still present in version 7.1.4: The PDF export must be carried out twice so that the alternative text is recognised in the screenshot.
I confirm it with Version: 7.3.0.0.alpha1+ (x64) / LibreOffice Community Build ID: 7b8f630db30ee0066a9f4b6e540368d2fcad7fa8 CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: en-GB Calc: CL Additional informations LO accessibility check accepts the file also during first PDF export.
step 2.5 is missing: set an alt-text in the properties dialog of the image
Michael Stahl committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/ae132145ff42a95dc24fb124847c04af4b8c8dab tdf#141386 svx,sw: fix setting name/title/description on SwVirtFlyDrawObj It will be available in 7.5.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.
this was non-obvious... there is a problem here that causes the svx part of the PDF export code to not retrieve the properties that are set via the dialog. but with the fix 122b4264d23df8b11419839ba700b88c4f936a6c "tdf#57423 sw: PDF/UA export: Alt texts for SwNoTextNode" for the sw part of the PDF export, that problem does not exist any more. still, there are other clients of the svx/drawinglayer code that want to extract these properties, so i fixed that part anyway.
Michael Stahl committed a patch related to this issue. It has been pushed to "libreoffice-7-4": https://git.libreoffice.org/core/commit/40253b20de74e2a289c89367189fd5b32b20d676 tdf#141386 svx,sw: fix setting name/title/description on SwVirtFlyDrawObj It will be available in 7.4.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.
Created attachment 184755 [details] PAC tool with a freshly created PDF Verified in Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: f1830bff71847a9c17715cff52383956719847fe CPU threads: 14; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win Locale: en-US (hu_HU); UI: en-US Calc: threaded No warning about missing alternative description.