UiaNameLengthTooLong

Text

Element's name should not return a string longer than {0} character

Type

Error

Description

The name of an element contains too many characters. For example, the IUIAutomationElement::CurrentName method used to retrieve the UIA name of an element returns a string greater than the limit.

This issue causes problems for people who rely on a screen-reader and keyboard for navigation because an element might have an unpronounceable, non-intuitive name.

Possible causes

The element or its parent has an incorrectly assigned name or label.

UIA_NamePropertyId

IUIAutomationElement::CurrentName