Index: src/orca/Gecko.py
===================================================================
--- src/orca/Gecko.py	(revision 2173)
+++ src/orca/Gecko.py	(working copy)
@@ -1452,11 +1452,11 @@
         # at us.
         #
         if newLocusOfFocus and self.inDocumentContent(newLocusOfFocus):
-            if event.source.text:
-                caretOffset = event.source.text.caretOffset
+            if newLocusOfFocus.text:
+                caretOffset = newLocusOfFocus.caretOffset
             else:
                 caretOffset = 0
-            self.caretContext = self.findFirstCaretContext(event.source,
+            self.caretContext = self.findFirstCaretContext(newLocusOfFocus,
                                                            caretOffset)
 
         # Don't bother speaking all the information about the HTML
