Re: custom list view
Re: custom list view
- Subject: Re: custom list view
- From: James Dempsey <email@hidden>
- Date: Wed, 19 Jan 2011 12:29:08 -0800
On Jan 19, 2011, at 12:21 PM, Dave Hayden wrote:
> I'm finally getting around to adding accessibility to our layer-based list view, but not having much luck.
>
> When I mouse over the view with Accessibility Inspector running it says "AXChildren: Unable to get the value (kAXErrorFailure)"--even though it lists "AXChidren: <array of size 65>" in the Attributes list above. I can see the child objects being asked for their parent object, but nothing else. Accessibility Verifier says "warning: AXList [or AXTable], Unexpected error code when fetching AXChildren attribute kAXErrorFailure(-25200)"
>
> Any ideas? Or other info I can give?
Try running your app with the argument -NSAccessibilityDebugLogLevel 1. it will log more, which may give some insights.
I am guessing your layer subclasses are the items implementing NSAccessibility? Each child needs to be unique in terms of isEqual:, perhaps that is not the case?
Is it possible that the items you are intending to return do not return NO from -accessibilityIsIgnored?
-James
>
> Thanks!
> -Dave _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Accessibility-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
--------------------------------------------------
James Dempsey
AppKit Engineering
Apple
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden