AccNameLengthTooLong

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 get_accName method used to retrieve the MSAA name of an element returns a string greater than the limit of 32000 characters.

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.

IAccessible::get_accName

Name Property