Bug 144375 - Copy object caption contents to 'alternative text'
Summary: Copy object caption contents to 'alternative text'
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: accessibility
Depends on:
Blocks: Options-Dialog-Writer
  Show dependency treegraph
 
Reported: 2021-09-08 10:49 UTC by Olivier Hallot
Modified: 2021-10-18 10:32 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Hallot 2021-09-08 10:49:40 UTC
This is an enhancement suggestion that can benefit accessibility in Writer documents and user experience.

In the Tools - LibreOffice Writer - Autocaption dialog for images, Frames and other OLE objects:

1) Add a checkbox to copy caption category and number to Illustration "Name" property, overwriting existing random name.
2) Add a checkbox to copy caption text to "Description", overwriting the existing description.
3) Add a checkbox to copy caption category, number and description to the "Alternative" property;

Rationale
---------
Images, frames and OLE objects names are generated internally to ensure name uniqueness on creation and on import of contents. However, the name displayed in the navigator is too often meaningless and unordered, thus making the navigator a limited tool if the object name is not properly named.

By adding the caption info in the name, alt and description, it turns the navigator a better tool. 

It also improve accessibility of the document by filling these properties with the right contents.

Alternatives
------------
Since the objects has getByName() it is advisable to have these overwrites as option in the AutoCaption.

An alternative is a command attached in the context menu of the image in the Navigator to execute the overwrites. That requires manual user intervention, but is a lot safer.
Comment 1 V Stuart Foote 2021-09-23 12:41:59 UTC
Makes sense, especially if the long overdue work bug 96355 for a unified properties dialog, and better prompting to assign descriptive text like bug 39558, get picked up...

+1
Comment 2 Heiko Tietze 2021-09-27 09:50:23 UTC
The name is not really random and should not follow the caption. It's used only at the Navigator and for referencing. Short variable names are fine here.

Neither the description is similar to the caption. It is supposed to hold additional information such as source, author, license, dates etc. See also bug 133719 for that.

Regarding the alternative text, we could indeed use the "Insert Caption" command to add some text and solve bug 39558 by this. But the frame holding the caption and it's content are not as tightly related to each other as it would be needed for a stringent "use variable a at position b" relation. We have to consider that users want to caption two images or change the caption later. Meaning the caption should be used for the alt text only if it is empty.

And last but not least I'd refrain from making this optional. No checkbox to do or don't.
Comment 3 Heiko Tietze 2021-09-30 09:14:44 UTC
The ticket was on the agenda for the design meeting but did not receive further input. So let's add the caption to alternative text if empty.