diff options
author | Niklas Johansson <sleeping.pillow@gmail.com> | 2014-09-15 08:57:01 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2014-09-16 12:28:09 +0200 |
commit | 29e6e01016a6b2535d7c02f75c6ea1cfc2de3506 (patch) | |
tree | 7bdcadad0f4ac89d3b1c6231d6c9f6ddf5891e37 /sc | |
parent | 2592687ce6b08bb61d333a1879308e171926fac4 (diff) |
fdo#81264 Calc is not accessible to screen readers if sheet is modified [a11y]
When the IA2 changes was merged it removed the call to CommitFocusGained
and thereby stopped sending a STATE_CHANGED FOCUSED. A big thank you to
Joanmarie Diggs for noticing the lack of that event.
I only tested the patch on Fedora, but I will have a look at Windows with
NVDA as soon as the patch gets included in the daily builds.
Change-Id: Ic616d1b367ad8b8ed5d243e0ba124764082e96f1
Reviewed-on: https://gerrit.libreoffice.org/11451
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx b/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx index 0960a3724fd6..5fade8b32750 100644 --- a/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx +++ b/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx @@ -361,6 +361,7 @@ void ScAccessibleSpreadsheet::LostFocus() void ScAccessibleSpreadsheet::GotFocus() { + CommitFocusGained(); AccessibleEventObject aEvent; aEvent.EventId = AccessibleEventId::ACTIVE_DESCENDANT_CHANGED; aEvent.Source = uno::Reference< XAccessibleContext >(this); |