Windows Dev Center

Expand Minimize

InconsistentState, InconsistentProperties

Text

A control has states/properties that are inconsistent {0} and {1}

Type

Error

Description

An element is reporting inconsistent or conflicting MSAA states or UI Automation properties. For example, when the get_accState method returns any of the following combinations.

  • STATE_SYSTEM_EXPANDED and STATE_SYSTEM_COLLAPSED
  • STATE_SYSTEM_SELECTED and not STATE_SYSTEM_SELECTABLE
  • STATE_SYSTEM_FOCUSED and not STATE_SYSTEM_FOCUSABLE
This issue causes problems for people who rely on a screen-reader and keyboard for navigation because an incorrect element state might be reported to the user.

Possible causes

The element or its parent has an MSAA state set inappropriately.

Related topics

IAccessible::get_accState
Object State Constants
States and Properties

 

 

Community Additions

ADD
Show:
© 2015 Microsoft