Bug 35110 - A list box in writer document doesn't expose correct role to AT-SPI.
Summary: A list box in writer document doesn't expose correct role to AT-SPI.
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
3.3.0 release
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Not Assigned
QA Contact:
Keywords: accessibility
Depends on:
Blocks: a11y-Linux
  Show dependency treegraph
Reported: 2011-03-08 03:01 UTC by Dattatray Bhat
Modified: 2017-07-13 10:17 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:

Accerciser screen-shot. List Box object has unwanted parent 'panel'. (144.52 KB, image/png)
2011-03-08 03:01 UTC, Dattatray Bhat

Note You need to log in before you can comment on or make changes to this bug.
Description Dattatray Bhat 2011-03-08 03:01:52 UTC
Created attachment 44222 [details]
Accerciser screen-shot. List Box object has unwanted parent 'panel'.

When a list box is added to Libre Office writer document, a container is also unnecessarily added as the parent of the list box. The container object (with ROLE_PANEL) gets the name 'List Box 1'. The real list box object (with ROLE_LIST) is left without name. If the container object is removed, assistive
tools like a screen reader can access the document more easily.

Steps to reproduce:
1. Start Libre Office writer. Create a new text document. Add a list box. Add two items say 'circle' and 'triangle'. Turn Design Mode off. Save the document.

2. Start Accerciser accessibility explorer.

3. Go to the accessible tree view at top left. As shown in attached screen-shot, select the container object corresponding to the list box just created. It has role 'panel', but name 'List Box 1'. The real list box object is just below, with role 'list' but without name.

4. In the plug-in view at top right, select Interface Viewer. The first line
shows the role as 'panel', but the name 'List Box 1'.

5. Go to the IPythonConsole at bottom. Command acc.getRole() returns the role
Comment 1 Joanmarie Diggs 2011-08-08 16:15:35 UTC
Update: The real role is now ATK_ROLE_LIST_BOX
Comment 2 Björn Michaelsen 2011-12-23 11:49:54 UTC Comment hidden (obsolete)
Comment 3 Dattatray Bhat 2011-12-26 23:57:40 UTC
Today I rechecked my observation with Libre Office dev 3.5.0 beta2 and found
that the bug persists. I suggest that the bug be moved back to NEW status.
Comment 4 Florian Reisinger 2012-08-14 14:02:27 UTC Comment hidden (obsolete)
Comment 5 Florian Reisinger 2012-08-14 14:03:25 UTC Comment hidden (obsolete)
Comment 6 Florian Reisinger 2012-08-14 14:07:59 UTC Comment hidden (obsolete)
Comment 7 Florian Reisinger 2012-08-14 14:10:05 UTC Comment hidden (obsolete)
Comment 8 Joanmarie Diggs 2012-08-14 14:34:31 UTC
I don't know how I missed the bugmail, but this was never addressed.
Comment 9 Christophe Strobbe 2013-08-07 16:29:27 UTC
Corresponding Apache OpenOffice bug https://issues.apache.org/ooo/show_bug.cgi?id=117256
Comment 10 QA Administrators 2015-04-01 14:40:58 UTC Comment hidden (obsolete)