diff --git a/accessible/src/generic/DocAccessible.cpp b/accessible/src/generic/DocAccessible.cpp index 4442ef615bd..8e77f51defc 100644 --- a/accessible/src/generic/DocAccessible.cpp +++ b/accessible/src/generic/DocAccessible.cpp @@ -1917,8 +1917,10 @@ DocAccessible::UpdateTreeInternal(Accessible* aChild, bool aIsInsert, // XXX: do we really want to send focus to focused DOM node not taking into // account active item? - if (focusedAcc) + if (focusedAcc) { FocusMgr()->DispatchFocusEvent(this, focusedAcc); + SelectionMgr()->SetControlSelectionListener(focusedAcc->GetNode()->AsElement()); + } return updateFlags; }