Re: When is NSAccessibilityRTFForRangeParameterizedAttribute used?
Re: When is NSAccessibilityRTFForRangeParameterizedAttribute used?
- Subject: Re: When is NSAccessibilityRTFForRangeParameterizedAttribute used?
- From: Christiaan Hofman <email@hidden>
- Date: Fri, 9 Apr 2010 23:40:57 +0200
On Apr 9, 2010, at 23:33, Scott Kovatch wrote:
> Hello,
>
> I'm working on responding to accessibility attribute requests for Eclipse's text editors, and I'm trying to figure out a few things. It
>
> In TextEdit, VoiceOver speaks the alignment and justification for text. We have the ability to set the alignment and justification, and so on, but I don't see any attributes that I could set. How is this information being picked up by VoiceOver?
>
> My hunch was that NSAccessibilityRTFForRangeParameterizedAttribute could do it, but when I implement that in my objects it never gets called. Under what conditions would this method be called?
>
> Thanks,
> Scott K.
>
> ------------------
> Scott Kovatch
> IBM
> Eclipse Platform Team
> Pleasanton, CA
I can't tell you when what will be called, that's really an implementation detail of VoiceOver (or whatever tool that's uses accessibility).
However I can suggest an alternative that may be used: NSAccessibilityAttributedStringForRangeParameterizedAttribute.
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