Bug 135638 - Accessibility of PDF export: some images are not flagged by Figure tag while exporting docx into pdf
Summary: Accessibility of PDF export: some images are not flagged by Figure tag while ...
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
6.3.4.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: accessibility
Depends on:
Blocks: PDF-Export PDF-Accessibility
  Show dependency treegraph
 
Reported: 2020-08-11 13:45 UTC by Martin Josefik
Modified: 2021-11-11 15:07 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Source docx file (49.02 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2020-08-11 14:02 UTC, Martin Josefik
Details
Resulting tagged pdf file (16.81 KB, application/pdf)
2020-08-11 14:03 UTC, Martin Josefik
Details
Exported tagged PDF from LO7 (16.48 KB, application/pdf)
2020-08-12 07:41 UTC, Martin Josefik
Details
Exported PDF/UA from LO7 (16.46 KB, application/pdf)
2020-08-12 07:42 UTC, Martin Josefik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Josefik 2020-08-11 13:45:46 UTC
Description:
Exported pdf should contain Figure tag for every image from docx. Unfortunately there are images that are not marked by Figure tag.

The image is flagged by p tag.

Steps to Reproduce:
1. Open the attached docx file.
2. Export as a Tagged PDF using File > Export as ... > Tagged PDF
3. Open the tagged PDF in a PDF explorer such as Adobe Acrobat. There are only <P>
 tags.

Actual Results:
The figure from the source docx file is marked up by <P> tag instead of <Figure> tag.

Expected Results:
The figure is marked up as a <Figure> tag


Reproducible: Always


User Profile Reset: No



Additional Info:
This is an accessibility concern. Users with screen readers are not able to properly identify images in the tagged PDF export.
Comment 1 Martin Josefik 2020-08-11 14:02:34 UTC
Created attachment 164163 [details]
Source docx file
Comment 2 Martin Josefik 2020-08-11 14:03:06 UTC
Created attachment 164164 [details]
Resulting tagged pdf file
Comment 3 V Stuart Foote 2020-08-11 19:11:01 UTC
Please retest with a current master / 7.1.0 release. Support for PDF/UA (ISO 14289-1) has been implemented. This would not be fixed for prior releases of LibreOffice (i.e. 6.3, 6.4, or 7.0).
Comment 4 V Stuart Foote 2020-08-11 19:15:41 UTC
Sorry, support for PDF/UA *is* available for testing in the 7.0.0 release--but must be enabled as an experimental feature from the Tools -> Options -> Advanced dialog and LO restarted. It is not available for the 6.3 or 6.4 releases.
Comment 5 Martin Josefik 2020-08-12 07:41:33 UTC
Created attachment 164181 [details]
Exported tagged PDF from LO7
Comment 6 Martin Josefik 2020-08-12 07:42:10 UTC
Created attachment 164182 [details]
Exported PDF/UA from LO7
Comment 7 Martin Josefik 2020-08-12 07:44:08 UTC
I retested the same file with LO7 and also with experimental option PDF/UA and the resulting PDF contains only <P> tags, image is not marked by <Figure> tag.
Comment 8 Martin Josefik 2020-08-12 07:44:36 UTC
(In reply to Martin Josefik from comment #7)
> I retested the same file with LO7 and also with experimental option PDF/UA
> and the resulting PDF contains only <P> tags, image is not marked by
> <Figure> tag.

All generated PDF files are attached, you can look at the tag structure.
Comment 9 QA Administrators 2020-08-13 04:42:37 UTC Comment hidden (obsolete)
Comment 10 Buovjaga 2021-11-11 15:07:50 UTC
Can we test this with some freeware or open source software?