ControlShouldHaveValue

Text

A control with role of {0} should have a value but get_accValue is not implemented

Type

Error

Description

An element does not supply a value as expected based on the assigned MSAA role, implying that the element does not have the get_accValue method implemented. For example, the following MSAA roles should all supply a value.

  • ROLE_SYSTEM_COMBOBOX
  • ROLE_SYSTEM_IPADDRESS
  • ROLE_SYSTEM_LINK
  • ROLE_SYSTEM_OUTLINEITEM
  • ROLE_SYSTEM_PROGRESSBAR
  • ROLE_SYSTEM_SLIDER
  • ROLE_SYSTEM_SPINBUTTON
  • ROLE_SYSTEM_SCROLLBAR
  • ROLE_SYSTEM_TEXT

This issue is a problem for people who rely on a screen-reader and keyboard for navigation because an element that has an intrinsic value must be able to report that value to a user.

Possible causes

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

IAccessible::get_accRole

Object Roles