How to make a conclusion available through VoiceOver?

I’m working to make the iOS app accessible to people with visual impairments. On one screen of my application, I display an image of notes, with a button on the toolbar that switches the presentation to simply show lyrics. In the end, I would like to provide a version of the braille for visually impaired users, but at the moment I am only providing an accessible version of the text.

While I can’t find a good affordable version of notes, what would be a professional, appropriate way to say through VoiceOver, “Sheet music, press the song button for VoiceOver content”? How would you formulate this, and will it be a label, value, tooltip or something else?

+4
source share
1 answer

a very cool idea and a great opportunity to make your applications available!

Have you looked at the headers in UIKit to find out what is available for the accessibility API? this is probably the best place to start, as well as developer.apple.com accessibility programming guide

You can do VoiceOver by posting notifications:

UIAccessibilityPostNotification(UIAccessibilityAnnouncementNotification, @"tap lyrics button to toggle..."); 

However, in this case, it would be better to implement the accessibility API for specific objects. For example, on a user interface button that switches notes, you can do something like:

 - (BOOL)isAccessibilityElement { return YES; } - (UIAccessibilityTraits)accessibilityTraits { return [super accessibilityTraits] | UIAccessibilityTraitButton; } - (NSString *)accessibilityLabel { return @"Toggle sheet music"; } - (NSString *)accessibilityHint { return @"Double tap to toggle sheet music"; } 
+3
source

All Articles