Bug 123846 - Assign styles dialog not accessible
Summary: Assign styles dialog not accessible
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.2.6.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:7.5.0
Keywords: accessibility
Depends on:
Blocks: a11y, Accessibility
  Show dependency treegraph
 
Reported: 2019-03-04 17:40 UTC by Jean-Philippe MENGUAL
Modified: 2022-06-17 16:16 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 Jean-Philippe MENGUAL 2019-03-04 17:40:09 UTC
Hi,

Using Orca master, enabling accssibility in your desktop environment:
1. Open Insert, Index & table, Index & table
2. Choose "Customized index" as type
3. Check "styles" checkbox
4. Prss Apply the styles button

A table appears. It is not described as a table. Then, while up and down arrow keys make the style list scroll, the user is not aware there are several columns, and right and left arrow keys do not anything.

Another consequence is that if using Left and Right buttons, the style is moved from "non assigned" to another column, but the screen reader does not inform the user about this change, and browsing in the table does not the information per keyboard.

We would expect the table to be considered as a table widget, and the user can browse via up, down, left and right keys through columns.

Regards
Comment 1 Alex ARNAUD 2019-03-05 09:10:14 UTC
I confirm the issue on LibreOfficeDev 6.3 built this week.

Best regards,
Alex.
Comment 2 Peter Vágner 2019-03-20 15:22:34 UTC
I can reproduce this with Libreoffice 6.2.1.
When inwoking Insert -> Table of Contents and Index -> Table of Contents, Index or Bibliography... from the menu bar in Writer a tabbed dialog comes up.
On the Styles tab there are some comboboxes however their relations are not clear to me I think I need some hints in order to be able to use this part.

When proceedingas instructed i.e.
* Setting type to User defined
* Checking Styles inside the Create from pannel
* hitting Assign styles button 

I can see semi accessible tree table. Column and row headers are reported when navigating by using arrow keys however state of the checkboxes is not reported.

Version: 6.2.1.2
Build ID: 6.2.1-1
CPU threads: 8; OS: Linux 5.0; UI render: default; VCL: gtk3; 
Locale: en-US (en); UI-Language: en-US
Calc: threaded
Comment 3 QA Administrators 2021-03-20 04:41:42 UTC Comment hidden (noise, obsolete)
Comment 4 Commit Notification 2022-06-16 07:31:46 UTC
Caolán McNamara committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/4e41879586fb24e925fb59dd06c43235f298e66d

Related: tdf#123846 don't auto toggle radiobuttons with left/right

It will be available in 7.5.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 5 Caolán McNamara 2022-06-16 10:35:30 UTC
Under gtk, I think in 6.2 and earlier we had vcl widgets here and from 6.3 onwards we have gtk widgets. I don't know if the original report from Jean-Philippe is under gtk or not, comment #3 is wrt gtk though.

Under gtk the widget is a true GtkTreeView but with orca I can see that the "style" column is read twice and the radiobuttons are not announced as toggling. 

I find that if I change the appname from "soffice" to anything else then the style column is read once and the toggle buttons are announced nicely. So I presume orca has some special handling for LibreOffice based on the appname and we're perhaps not getting the full benefit of the native gtk widgets a11y when we're using those.

caolanm->jdiggs: I don't know if there is a way to help orca to not do special LibreOffice stuff when we're using real gtk widgets?
Comment 6 Joanmarie Diggs 2022-06-17 16:16:06 UTC
The LibreOffice script in Orca can check the toolkit and defer to the Gtk script if it's native Gtk.