Re: Suppling title ui element for an edit text control?
Re: Suppling title ui element for an edit text control?
- Subject: Re: Suppling title ui element for an edit text control?
- From: Tomas Zahradnicky <email@hidden>
- Date: Tue, 24 Jan 2006 22:25:58 +0100
I'm not really sure what's happening, but I suspect it's because the
EditUnicodeText control delegates its accessibility support to a
separate HIObject that is provided by the MLTE object that
implements the text-editing capability. It's possible that the
auxiliary accessibility attributes are being ignored when they're
assigned directly to the EditUnicodeText control. That would be a
bug, so please file a bug about this and let us know the Radar
number.
Hi Eric,
you were absolutely right about that. If I use the following work
around, I'm able to get the title ui element working despite
Accessibility Inspector does not show it, VoiceOver properly speaks
it.
cfstr = HIObjectCopyClassID( hiView );
if( cfstr )
{
if( CFStringCompare( cfstr,
kHITextFieldClassID,
kNilOptions ) == kCFCompareEqualTo
)
{
txnObject = HITextViewGetTXNObject( (HIViewRef)hiView );
if( txnObject )
{
// replace hiView with Edit Unicode Text adaptor HIObject
err = TXNGetAccessibilityHIObject( txnObject, &hiView );
}
else
{
err = -1;
}
}
CFRelease( cfstr );
}
Should I update the bug with this work around?
Tomas
--
# Ing. Tomas Zahradnicky, Jr.
# The Czech Technical University
# Dept of Computer Science, FEE-CTU Prague
_______________________________________________
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