VariantNotInt (CheckRole)
Text
The variant returned from {0} should be an {1} but is a {2}.
Type
Error
Description
An element is reporting an invalid MSAA role. For example, the get_accRole method used to retrieve the MSAA role of an element should return an integer value that represents one of the MSAA role constants, but is returning another variant instead.
This issue causes problems for people who rely on a screen-reader and keyboard for navigation because elements may be incorrectly identified to the user.
Possible causes
The element or its parent has an MSAA role set inappropriately.
Related topics
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for