Re: Accessibility Issues with NSPopover (MacOS)
Re: Accessibility Issues with NSPopover (MacOS)
- Subject: Re: Accessibility Issues with NSPopover (MacOS)
- From: Eric Schlegel <email@hidden>
- Date: Thu, 17 May 2012 11:09:20 -0700
On May 17, 2012, at 10:40 AM, Patti Hoa <email@hidden> wrote:
>>
>> 2. Once my Semi-Transient popover loses user-focus (user clicks on the main window), I can not set it back on the popover (neither on the popover itself, nor on any of its subviews). I need to do this programmatically, because focus is sometimes lost because of another dialog popping on the main window following remote server message.
>>
>> The accessibility user who lost the focus can have very hard time to find it, and sometimes he doesn't even have a chance to know that this popover even exists onscreen.
>
> Ideally if another dialog gains keyboard focus, the popover should get dismissed. If you can detect that and programmatically dismiss the popover, that may be the workaround for now. Otherwise, VO user can only get back to the popover via control-option-F2-F2.
>
>>
>> 3. As NSPopover manages its internal window in a very-opaque way, and I can't find a way THAT WORKS to set up the "initialFirstResponder" for it, or its window title, or any accessibility attributes on the popover's internal window.
>
> Why would you want to set accessibility attributes on the popover's internal window? To VoiceOver, a popover is simply treated like a child of the element that triggered it. Accessibility clients really should not know or care about how the NSPopover was constructed (via window or such).
Hi Motti,
In addition to Patti's comments, please file two bugs about these two issues. It sounds like you can summarize these as "no way to programmatically put keyboard focus on an NSPopover" and "no API available to access initialFirstResponder or other attributes of a popover's window".
-eric
_______________________________________________
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