ElementIsNotChildOfElementsParent

Text

Element is not a child of its parent

Type

Error

Description

When get_accParent is called on the child element returned by accNavigate (using either the NAVDIR_FIRSTCHILD or NAVDIR_LASTCHILD navigation constants), the parent element returned does not match the parent element specified in the accNavigate call.

This issue can cause navigation problems for automated tools because traversing elements might be erratic and unpredictable.

Possible causes

An incorrect or invalid MSAA implementation.

IAccessible::accNavigate

IAccessible::get_accParent