Re: Lightweight toolkit : Focus and VoiceOver tracking
Re: Lightweight toolkit : Focus and VoiceOver tracking
- Subject: Re: Lightweight toolkit : Focus and VoiceOver tracking
- From: Chris Fleizach <email@hidden>
- Date: Wed, 10 Oct 2012 15:25:07 -0700
Hi,
It sounds like your NSApplication needs to implemented
- (id)accessibilityFocusedUIElement
VoiceOver, when receiving a focus change, will ask the app that accessibility attribute and use what it receives as the result.
http://developer.apple.com/library/mac/#documentation/cocoa/Conceptual/Accessibility/cocoaAXUItesting/cocoaAXUItesting.html
On Oct 10, 2012, at 3:20 PM, Ragini Prasad <email@hidden> wrote:
> Hi,
> We are working on adding accessibility to lightweight toolkit. The only heavyweight part is the NSWindow and NSView and the rest of the controls in the toolkit are lightweight. We have succeeded for simple prototypes of Button and other simple controls for VO to announce its name and role.
>
> However, we have been trying to make VO cursor to track the focus cursor.
> We have been successful in the reverse, i.e. when using VO navigation, we have succeeded in making focus to follow VO.
>
> We are not sure what additional we need to do to get the VO to track focus.
> The toolkit is entirely light weight, hence we are implementing the Accessibility hierarchy, where each accessible counterpart is a NSObject.
>
> When focus changes we fire the NSAccessibilityFocusedUIElementChangedNotification from the corresponding accessible object. (Move this code to fire this notification from NSWindow , has made no difference.)
> Running Inspector we dont see this object as a focused object.
> The call to obtain the Value for NSAccessibilityFocusedAttribute doesn't come in, after we fire NSAccessibilityFocusedUIElementChangedNotification event.
> Not sure what we maybe missing, will be very helpful to get some ideas on how to go about this.
> Thanks,
> Ragini.
>
> _______________________________________________
> 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
_______________________________________________
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