Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit d25eb52

Browse files
Add comment
1 parent 21a1e0f commit d25eb52

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

shell/platform/windows/accessibility_root_node.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ IFACEMETHODIMP AccessibilityRootNode::get_accChild(VARIANT var_child,
102102
} else if (child_id == kAlertChildId && alert_accessible_) {
103103
*disp_child = alert_accessible_;
104104
} else if (child_id < 0) {
105+
// A negative child ID can be used to refer to an AX node directly by its ID.
105106
return window_accessible_->get_accChild(var_child, disp_child);
106107
} else {
107108
return E_FAIL;

0 commit comments

Comments
 (0)