summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNiklas Johansson <sleeping.pillow@gmail.com>2014-09-15 08:57:01 +0200
committerEike Rathke <erack@redhat.com>2014-09-16 09:40:14 +0000
commit93410b5ba13749cf3663d3d696fe1a14474bf696 (patch)
treefb8a303060463231e04af8312dc8a8ed0882da12 /sc
parentc16f45db0ea20db6ca3906551c01fb18f9258c84 (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.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx b/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx
index 896d2bd6abee..a1e9b8b49229 100644
--- a/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx
+++ b/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx
@@ -362,6 +362,7 @@ void ScAccessibleSpreadsheet::LostFocus()
void ScAccessibleSpreadsheet::GotFocus()
{
+ CommitFocusGained();
AccessibleEventObject aEvent;
aEvent.EventId = AccessibleEventId::ACTIVE_DESCENDANT_CHANGED;
aEvent.Source = uno::Reference< XAccessibleContext >(this);