ax_dump_tree
Standalone executable tool that helps developers view IAccessible2 object trees from any application.
This tool is an alternative to AccProbe, which is buggy, and AViewer, which is not feature rich.
The first version of ax_dump_tree is barebones and simply displays events on console, but has
a lot of room for future expansion (e.g., serve info to a GUI, dump the tree structure etc.).
The tool is similar is use to ax_dump_events.
As an example of how this makes easier, when there is a bug with NVDA/JAWS in Chrome that doesn't
occur with Firefox, we can look at the object tree emitted by Firefox for the same content.
The ax_dump_tree tool shares code and formatting with the DumpAccessibilityTree browsertests.
Use as follows:
ax_dump_tree --pid=[processid]
ax_dump_tree --window=[hwnd] (start with 0x to use hex value)
TBR=nektar,dpranke
Bug: 771747
Change-Id: Idfc17ca1a1d44006ad32dcca07303ce1d93f7669
Reviewed-on: https://chromium-review.googlesource.com/724239
Reviewed-by: Aaron Leventhal <[email protected]>
Reviewed-by: Dirk Pranke <[email protected]>
Commit-Queue: Aaron Leventhal <[email protected]>
Cr-Commit-Position: refs/heads/master@{#509597}
diff --git a/BUILD.gn b/BUILD.gn
index 33946e9..57129922 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -392,8 +392,10 @@
]
}
- if (is_win || is_mac) {
+ # Accessibility API debugging tools.
+ if (is_win) {
deps += [ "//tools/accessibility/inspect:ax_dump_events" ]
+ deps += [ "//tools/accessibility/inspect:ax_dump_tree" ]
}
if (is_linux) {