Re: Controlling which focused element "Zoom" follows
Re: Controlling which focused element "Zoom" follows
- Subject: Re: Controlling which focused element "Zoom" follows
- From: Daniel Jalkut via Accessibility-dev <email@hidden>
- Date: Tue, 12 Nov 2019 10:34:17 -0500
Thanks! I am getting the sense from some Googling for UAZoomChangeFocus that
maybe this is still a preferred way to inform the Zoom feature of the focused
element. Perhaps AX internally posts these on behalf of focused UI element
changes, but I see that for example WebKit uses the API to update zoom when a
user is moving the text cursor on a web field.
Daniel
> On Nov 12, 2019, at 4:50 AM, Bill Cheeseman <email@hidden> wrote:
>
> My UI Browser application has a "Follow Focus" mode. It does not follow the
> focus in the UI Browser application itself, but instead follows focus in the
> target application that it is currently monitoring and controlling. This may
> therefore not be helpful to you, but here it is just in case.
>
> To detect a change of focus in the current target application, I register to
> observe the NSAccessibilityFocusedUIElementChangedNotification.
>
> To detect when focus moves to a different target application, I register to
> observe the NSWorkspaceDidActivateApplicationNotification.
>
> Bill Cheeseman
>
>> On Nov 11, 2019, at 7:20 PM, Daniel Jalkut via Accessibility-dev
>> <email@hidden> wrote:
>>
>> I am following up on a problem reported by a customer who relies upon the
>> “Zoom Follows Focus” feature.
>>
>> In my crossword app, Black Ink, I sort of abuse the notion of “focus” by
>> reflecting the focused cell in the crossword grid, and simultaneously
>> reflecting a focused across and down clue in two associated table views.
>>
>> As a user navigates the puzzle, the focused cell in the (custom) puzzle view
>> changes, but the focused across and down clue also change.
>>
>> The problem is the “Zoom follows focus” feature seems to know about the
>> focus on the table views, but disregard the focus on my puzzle view. This is
>> probably something I have to expose via accessibility properties, but does
>> anybody happen to know how I would do that, and in the event there are
>> multiple elements in the window with “focus”, which one wins? I would guess
>> whatever is firstResponder would win, and I think my puzzle grid is.
>>
>> Thanks for any help!
>>
>> Daniel
>>
>> _______________________________________________
>> 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