Re: AXUIElementPostKeyboardEvent experience
Re: AXUIElementPostKeyboardEvent experience
- Subject: Re: AXUIElementPostKeyboardEvent experience
- From: Eric Schlegel <email@hidden>
- Date: Tue, 17 Dec 2002 08:45:13 -0800
On Tuesday, December 17, 2002, at 02:33 AM, Bill Cheeseman wrote:
There are a few limitations
to performing menu item commands while the target app is in the
background,
along the lines you suggest. For example, some (all?) menus can't see
their
parent
Child menus can only see their parent when the child menu is actually
open, in the current implementation.
I misled you. Just checked myself, no menu command can be pressed in
today's system when it is in the background. We will have to discuss
this
at Apple and determine if that is the correct behavior, or if there
is a
workaround.
I don't know whether it should be regarded as necessary for Section 508
purposes, but I suspect so.
I think the thing to remember here is that the assistance API is meant
to allow an assistive app to simulate what the user would do
themselves, barring disabilities. An ordinary user can't select menu
items in a background application; that's not the way the UI works.
Therefore, the assistive API is not designed to allow that either - and
we might, in fact, want to explicitly disallow it.
It's easy enough to bring the target application
to the front to perform a menu command, then bring the assistive app
back to
the front right afterwards, if necessary.
A better solution would be to implement your assistive app using a
globally floating window that doesn't require the assistive app to be
frontmost for the user to interact with the window. Then the target
application can remain frontmost, and the user can work with it in the
normal fashion, without requiring a lot of front process switching.
-eric
_______________________________________________
accessibility-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/accessibility-dev
Do not post admin requests to the list. They will be ignored.