Bug ID# 12253803, 2012-09-07
Summary: Accessibility error- selected children attribute of menubar is settable in all applications, but it works in none and should not be settable.
Steps to Reproduce: Run Apple's UIElementInspector developer utility and hover the mouse over the empty part of the menubar in any application -- for example, Finder or TextEdit.
Expected Results: The AXSelectedChildren attribute SHOULD NOT show "(W)".
Actual Results: The AXSelectedChildren attribute DOES show "(W)", meaning that it is writeable (or settable).
Regression: I assume this problem has existed for a long time, but I don't know.
Notes: Apple's AccessibilityDefinitions.plist file in /Library/Accessibility/ indicates in the role-attributes array that the AXSelectedChildren attribute for the AXMenuBar UI element should NOT be settable (settable is marked "NO"). Nevertheless, Apple's UIElementInspector developer utility shows that this attribute is "(W)" -- meaning writeable, or settable -- for the menu bar in all applications. (My UI Browser application does, as well.) This is because the NSAccessibility protocol's -accessibilityIsAttributeSettable: method and the Accessibliity API counterpart return YES or true for this attribute.
Running my UI Browser application and using its Attributes drawer to set the value of this attribute does not generate an error, but it doesn't work, either. For example, in TextEdit, nothing happens, and in Finder, the Apple menu is always selected (but not opened) no matter which menu I try to select.
|