Re: Ignoring notifications for new windows
Re: Ignoring notifications for new windows
- Subject: Re: Ignoring notifications for new windows
- From: Christiaan Hofman <email@hidden>
- Date: Tue, 22 Apr 2008 19:32:28 +0200
On 22 Apr 2008, at 7:19 PM, Mike Engber wrote:
On Apr 22, 2008, at 10:08 AM, Christiaan Hofman wrote:
On 22 Apr 2008, at 7:03 PM, Mike Engber wrote:
On Apr 22, 2008, at 8:26 AM, Christiaan Hofman wrote:
I have some special window subclasses that are used for custom
tool tips. The content is mostly inaccessible so I think should
be ignored. AFAICS this is also the case for system tool tips. At
least VoiceOver does not report them. Currently, my windows send
a notification when they pop up, and VoiceOver reports that there
is a new window. As they are further inaccessible this is rather
distracting. Is there a way to avoid these notifications? Does
this depend on some window options?
Overriding your window's accessibilityIsIgnored to return YES
might do the trick.
-ME
I already tried that. Even every view in the window returns YES
from accessibilityIsIgnored. But the notification is still send.
Hmmm, just making the window report itself ignored should do the
trick.
It's possible that VoiceOver is discovering new windows by some
other means (outside of the AX world).
To test this theory you'd need to use some tool (e.g. Cheesman's
stuff) to see if the accessibility notifications are actually being
sent about the ignored window. If they are, it seems like it's a bug.
-ME
Sorry, my mistake. I had had implemented accessibilityIsIgnored in a
category that was defined in the same file. It works now.
Christiaan
_______________________________________________
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