Re: Making children of StaticText accessible
Re: Making children of StaticText accessible
- Subject: Re: Making children of StaticText accessible
- From: Mike Engber <email@hidden>
- Date: Mon, 21 Apr 2008 15:39:33 -0700
On Apr 21, 2008, at 11:01 AM, Christiaan Hofman wrote:
The problem is that VoiceOver simply ignores any children I return,
because the view's role is StaticText, and that usually has no
children (so apparently VoiceOver and perhaps other assistive
devices assume it *never* has children).
It sounds like you're saying that you have an NSView subclass that
already is already accessorized like a NSTextView - except for links?
(If so, good job!)
It also sounds like you're saying you've already figured out how to
successfully add the links in as children (which should have required
overriding a fair amount of the accessibility protocol?)
Is the only issue that assistive apps often ignore children of
StaticText? I can't say I'm surprised. But, that's really a matter for
the assistive apps to deal with, not you.
As for the main text, it already implements full support for the
(parametrized) attributes for StaticText. This is also the reason
why I cannot change the role to Group, because I really don't want
to reimplement this (as this is a huge task, as you say).
You don't necessarily have to take this existing class and try to
remake it into a group. You could create an enclosing view (e.g. a
group) whose children are this existing class plus the children you're
adding.
That doesn't sound like a great solution to me. But, if you're
absolutely determined to "force" assistive apps to pay attention to
your children it might be the only way to make it happen.
I think it's also likely that someone from the VoiceOver team would
have something (negative) to say about using a non-standard
accessibility hierarchy in order coerce as certain behavior from
VoiceOver.
-ME
_______________________________________________
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