Consider making SPI NSAccessibilityUnregisterUniqueIdForUIElement public.

Originator:dtseng
Number:rdar://9896491 Date Originated:8/4/2011
Status:open Resolved:
Product:Mac OS SDK Product Version:10.6.7
Classification:enhancement Reproducible:always
 
04-Aug-2011 08:22 AM David Tseng:
Summary: Enable developers to add accessibility to objective C classes that do not inherit from a NSView subclass.

Steps to Reproduce:
1.  Within a objective C application,
2.  attempt to implement NSAccessibility protocol on an object inheriting from NSObject (either directly or indirectly), but not from NSView (directly or indirectly).
3.  fire accessibility events on this object using
NSAccessibilityPostNotification().

Expected Results:
Clients such as VoiceOver can observe for notifications on this element.


Actual Results:
Events cannot be observed.

Regression: No

Notes:
NSAccessibilityUnregisterUniqueIdForUIElement (which has been discussed on various public mailing lists), explicitly registers an element with AppKit, but is SPI. It does workaround this bug however.

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!