Community
Participate
Working Groups
I20100429-1549 Composites that have had getAccessible() called on them don't appear in Accessibility Inspector. 1. Launch Accessibility Inspector 2. Run AccessibleRelationsExample. 3. Mouse over the list on the right side of the window. 4. Look at the inspector window. "<AXOutline>" should appear below <AXScrollArea>. Instead, it goes directly to AXRow.
This is because my test for whether or not an Accessible should be ignored is flawed. If there are no AccessibleControlListeners that could change the role, then the default visibility shouldn't change.
Created attachment 167249 [details] Fix If there are no listeners to override the role, the widget should not be ignored by accessibility.
Created attachment 167250 [details] Fix Patch for just this problem.
I actually don't see any difference, before or after the patch. In both cases, I get: <AXApplication: “java”> <AXWindow: “Accessible Relations”> <AXScrollArea> <AXTable> <AXRow: “[Bananas]”> <AXTextField: “Bananas”> Not sure what I am doing differently from you. I am running AccessibleRelationsExample from the branch. (If you do use the patch as part of the fix, you might want to reuse listenerCount in the for loop).
Hmm... In a clean workspace I can't reproduce this either. I had some other changes in progress related to CCombo accessibility, so it's possible those were breaking this change. I'll mark this invalid and we'll pretend it never happened. :-)
+1 :)