office-gobmx/accessibility
Michael Weghorn eafef8fd19 tdf#135921 a11y Send event when toggling listbox checkbox
When toggling the state of the checkbox in a listbox/
treelist entry using the mouse or the keyboard, emit
a `VclEventId::CheckboxToggle` event and process
that in the a11y class that's used for the case
where there's just a single checkbox (like in the
spelling options dialog), `AccessibleListBoxEntry`
by sending a corresponding STATE_CHANGED event
on the a11y layer.

This makes Orca with the qt6 VCL plugin and NVDA on Windows
announce the new value when toggling a checkbox in the
Spelling options dialog using either the mouse or the
keyboard.

As mentioned in the previous commit,

   Change-Id Ic78f9052d166be0da17a76261a09da02b8a11cd7
   tdf#135921 a11y: Toggle listbox item checkbox on space

, the case where a listbox entry has multiple checkboxes
(like the autocorrect options dialog in Writer)
uses different a11y classes and toggling a checkbox there
still doesn't result in the new value being announced.

Change-Id: I36a2b0a3fa3154279fb06af023fdb96f699fac2f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158375
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2023-10-24 12:58:14 +02:00
..
inc a11y: Don't throw exception on valid list box entry action index 2023-10-23 20:35:52 +02:00
source tdf#135921 a11y Send event when toggling listbox checkbox 2023-10-24 12:58:14 +02:00
AllLangMoTarget_acc.mk
IwyuFilter_accessibility.yaml
Library_acc.mk
Makefile
Module_accessibility.mk
README.md

Accessibility Support for LibreOffice

Provides accessible components for LibreOffice