Search fields in the Help menu bar menu breaks accessibility

Originator:markrada26
Number:rdar://10040865 Date Originated:29-Aug-2011 03:28 PM
Status:Open Resolved:
Product:Accessibility Product Version:10.7.0
Classification: Reproducible:Always
 
29-Aug-2011 03:28 PM Mark Rada:
Summary:

The default Help menu that is generated for applications uses a search field has an AXChildren attribute that always returns nil, even when there are visible children.

This seems to be broken system wide, it is broken in every app that I have checked (Safari, Terminal, Finder, etc...) and it is also the behaviour for new Xcode projects.


Steps to Reproduce:

1. Open the accessibility inspector
2. Open any other app (e.g. Safari, Finder, Terminal)
3. Click on the Help menu from the menu bar
4. Move the mouse to the search field
5. Examine the AXChildren attribute in the accessibility inspector
6. Enter something into the search field
7. Move the mouse around to refresh the examination of the search field
8. Move the mouse over to the search field's cancel button
9. Examine the cancel button's parent (should be the search field)


Expected Results:

The search field should report it's children properly. An empty array when there are no visible children and an array with one child, the cancel button, when the cancel button is visible.


Actual Results:

Getting the value of the AXChildren attribute returns nil for that search field in all cases.


Regression:

Yes, it breaks accessibility navigation of the UI hierarchy.


Notes:

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!