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;
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.
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.
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...
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.
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.