Community
Participate
Working Groups
I20080502-0100 Open any editor, or run the CustomControlExample to get a StyledText. Turn on VoiceOver. Type some characters into the StyledText. The typed characters are not spoken.
Created attachment 99316 [details] _patch.txt A control with TextField role (i.e. StyledText) needs to handle kAXStringForRangeParameterizedAttribute. This attribute was being handled, but VoiceOver was not asking for it. On Tiger, all controls with TextField role were assumed to handle this attribute, so VoiceOver asked for it "for free". On Leopard, however, controls must explicitly publish all attributes that they support. The patch simply adds kAXStringForRangeParameterizedAttribute to the list of attributes for TextField.
Grant, please review fix, and drop by for a demo.
Fixed > 20080508