DuplicateSiblingNames

Text

Duplicate sibling Name+Role \"{0}\" will cause ambiguity between elements.

Type

Error

Description

An element has the same Name and Role/ControlType as another element.

This issue can cause confusion because screen readers will read the same text for all the elements with the same Name and Role/ControlType.

Possible causes

  • Element’s name contain Role/ControlType text.
  • Element’s name or the name of its parent is not set or is set incorrectly.

IAccessible::get_accName

Name Property

UIA_NamePropertyId

IUIAutomationElement.CurrentName