VoiceOver and text attachments
VoiceOver and text attachments
- Subject: VoiceOver and text attachments
- From: Tim Burgess <email@hidden>
- Date: Wed, 28 Sep 2016 16:22:13 +0100
Hi,
I was hoping to use custom attributes with an NSMutableAttributedString to provide additional formatting information to VoiceOver users of our application. However, responses on this list indicated that VoiceOver’s support for attributed text was limited to those attributes defined in NSAccessibilityConstants.h. This information allowed me to provide spoken attribute information for the supported attributes, but this is not sufficient for our needs. I tried to work around the issue by using a text attachment and encoding a UTF8 string within an NSData structure as the attachment. However, VoiceOver failed to announce the attachment contents, presumably because it has no mechanism to understand how to unpack the NSData. Our application is a Braille translation package, so we need to support a large number of styles that do not exist in “normal” text
. Can anybody suggest an alternative approach that could expand what I can report back from an NSAttributedString? I considered setting the accessibilityHelp property to
the value of a custom attribute, but this feels rather ugly and may fall foul of VoiceOver preferences set by the user.
Best wishes.
Tim Burgess
_______________________________________________
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