Re: Controlling which focused element "Zoom" follows
Re: Controlling which focused element "Zoom" follows
- Subject: Re: Controlling which focused element "Zoom" follows
- From: Dan Golden via Accessibility-dev <email@hidden>
- Date: Mon, 11 Nov 2019 16:39:30 -0800
If the focus is changing in both places, Zoom will likely move to whichever
focus change it received last. So in this case, if your grid and your clues are
both changing focus, Zoom likely moves to the clues because that’s the
notification it gets last.
You can try to control this behavior by manually telling Zoom where to focus.
See below for the API. If you post this after your focus changes occur, Zoom
should listen to it and move to the appropriate place:
https://developer.apple.com/documentation/uikit/1624921-uiaccessibilityzoomfocuschanged?language=objc
<https://developer.apple.com/documentation/uikit/1624921-uiaccessibilityzoomfocuschanged?language=objc>
> On Nov 11, 2019, at 4: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