2.1 .acc_label
With this attribute, the Automation Identifier that is queried for a user interface object from the IDM via the Microsoft UIA Interface can be overwritten. With an empty string, a meaningful Automation Identifier is usually predefined by the Windows Control or the UIA support in the IDM.
Definition
-
Data type
string, object [ text ]
-
Access
get, set
-
changed event
yes
Support of attribute by objects
Obje |
Support of the Attribute |
---|---|
filereq, messagebox |
Attribute has no effect |
menubox, menuitem, menusep |
|
canvas, spinbox, statusbar, tablefield |
Attribute is supported |
groupbox, notebook, notepage, splitbox |
|
image, layoutbox, window |
|
rectangle, scrollbar |
|
checkbox, pushbutton, radiobutton |
|
edittext, poptext, statictext |
|
control, listbox, treeview |
|
other object classes |
Attribute is not supported |
Remark
This attribute is only relevant for automated external control with active Microsoft UIA support. The attribute is without function on Qt and Motif.
When overwriting, the rules given for the AutomationId in the Microsoft UI Automation documentation should be followed.
Availability
See also
Chapter “UIA Object Identification” in manual “Automatic Testing and Accessibility”