https://bugs.documentfoundation.org/show_bug.cgi?id=149013

            Bug ID: 149013
           Summary: Description of images, OLE objects and shapes is not
                    exported to HTML
           Product: LibreOffice
           Version: 7.4.0.0 alpha0+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer Web
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: sdc.bla...@youmail.dk

Created attachment 180029
  --> https://bugs.documentfoundation.org/attachment.cgi?id=180029&action=edit
File with image that has Title and Description added

Attached file has an image, with a title and description (which can be seen by
selecting the image, then right-click, Properties - Options tab).

Export this file as HTML.

Actual:  Title is exported as alt (OK)
         Description is not exported.

According to [1]

"The description is visible as an alternative tag for accessibility tools."

But here is the HTML that was exported from the attached .odt

<!DOCTYPE html>
<html>
<head>
        <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
        <title></title>
        <meta name="generator" content="LibreOfficeDev 7.4.0.0.alpha0
(Windows)"/>
        <meta name="created" content="2022-05-10T01:34:35.861000000"/>
        <meta name="changed" content="2022-05-10T01:37:14.036000000"/>
</head>
<body lang="da-DK" dir="ltr"><p><img
src="Examples%20of%20added%20arrow%20styles.png" name="Image1" alt="This is the
text alternative" align="left" width="166" height="314" border="0"/>
<br/>
<br/>

</p>
</body>
</html>


Either there is a bug in LO (because no "description" is included in the HTML)
or in [1].


Additional Information:

1. The text in [1] seems to imply that both Title and Description will be
included in the HTML for "objects".  In tests with QR code, Formula, Chart,
Shapes,

a. Description was never entered for any of these objects.
b. The Title was included as "alt" for Formula and Chart (OK), but never for
Shapes (including QR code).  (Is LO wrong about shapes or should the help page
be made more precise?)
c. The name for each object was included in the html, and for shapes, this name
was also supplied as the "alt" text. 


[1] https://help.libreoffice.org/7.4/en-US/text/shared/01/05190100.html

Tested with:

Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 4ea44fdb19e568093ab1e0549c3ffa33296a486b
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: da-DK (da_DK); UI: en-US
Calc: CL

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to