Bug 156197

Summary: [ACCESSIBILITY] Add dialog to get a11y data when inserting objects
Product: LibreOffice Reporter: Olivier Hallot <olivier.hallot>
Component: frameworkAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED DUPLICATE    
Severity: enhancement CC: c_strobbe-fdo, heiko.tietze, libreoffice-ux-advise, m.weghorn, vsfoote
Priority: medium Keywords: accessibility, needsUXEval
Version: unspecified   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=39558
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 101912    

Description Olivier Hallot 2023-07-08 10:16:04 UTC
This is an usability enhancement.

Current situation: when inserting an image or object, the Alternative text, Description text and decorative checkbox are not filled. 

To comply with a11y, user need to fill data later.

Suggested enhancement:

1) Add a parameter (checkbox) in Writer Options to force a dialog to get a11y data when inserting images/object.
- when checked, call a dialog to get a11y data when inserting and image/object (see 2)
- when not checked, do not call a dialog to get a11y data. This is the current behaviour.
- Factory default is non-checked (current behaviour)

2) Create a dialog to get a11y properties of the inserted object
- The dialog shall open when the Open/Insert button of the image/object file picker dialog is clicked,
- the dialog shall ask for a11y properties as in the object a11y properties dialog tab
   -- Name (allow override suggested name, check for unique name)
   -- Alt text
   -- Description
   -- Decorative

- The OK button shall add the inserted data in the object a11y properties 
   - The dialog controller shall check for name uniqueness and return to dialog if duplicate name is entered. A error prompt must indicate duplicate name.

- The Cancel button shall skip the a11y data insertion.
   - the suggested name is inserted (the name is unique
- after OK/Cancel is pressed, the image/object is inserted in document
Comment 1 V Stuart Foote 2023-07-09 00:59:19 UTC
Like the direction, but isn't this a dupe of bug 39558

*** This bug has been marked as a duplicate of bug 39558 ***