Skip to main content
AppleVis

Main navigation

  • Apps
  • Forum
  • Blog
    • Podcast
    • Guides
    • Hardware & Accessory Reviews
    • Bug Tracker
    • Developer Resources
  • Log in

Breadcrumb

  1. Home
  2. Forums
  3. App Development and Programming

Help needed to make my app accessible

By Tyler K. Thompson, 24 May, 2013

Forum
App Development and Programming
So I've developed a mud client that i'd like to make accessible. I have a very simple problem at the moment that i'm hoping someone can help with. I have an NSTextField for user input and an NSTextView for server output. What i want is for any new information added to the text view (anything new from the server) to be read, but i don't want to change keyboard focus from the NSTextField. As it is right now the text view reads just fine (although it starts from the beginning every single time) and the text field reads just fine, but so long as keyboard focus is on the text field the text view (or text area, whichever you prefer) won't read.

Options

  • Log in or register to post comments

Comments

app accessibility testing

By Pat Pound

10 years 6 months ago

while it doesn'tanswer your specific question, here is a link to a piece I've written about testing iOS apps for accessibility. patstapestry.wordpress.com

Making VoiceOver speak text

By Eirik the Red

10 years 6 months ago

Hi, Tyler. The UIAccessibilityPostNotification function might be of use to you. It takes two parameters: the type of notification and the text to speak. Here's a sample method that I've used in the past to make VO speak text: - (void) speakText: (NSString*) textToSpeak { UIAccessibilityPostNotification(UIAccessibilityAnnouncementNotification, textToSpeak); }

Still a little ways to go

By Tyler K. Thompson

10 years 6 months ago

In reply to Making VoiceOver speak text by Eirik the Red

Do you have the OSX equivalent of that function? i've tried using NSAccessibility, however i can't find anything for NSAccessibilityAnnouncementNotification -- am i missing the obvious here? EDIT: I've tried NSAccessibilityPostNotification(NSAccessibilityValueChangedNotification, @"HELLO WORLD"); and i'm getting this: [__NSCFConstantString accessibilityIsIgnored]: unrecognized selector sent to instance 0x7fff7c5fc2e0

More Like This

Introducing Collegic Nav for iOS; your personal tour guide to college campuses (Forum Topic)
testing applications (Forum Topic)
How to play a Voiceover notification when signal lost (i.e., no user interaction)? (Forum Topic)
A question about JailBreaking (Forum Topic)
A better file manager for mac? (Forum Topic)
Is there anyone able to repair a Braille Display in Brazil, South America or Latin America? I need recommendations, please. (Forum Topic)
My iPhone won’t start; please help (Forum Topic)
should i jailbreak or no? (Forum Topic)

Site Information

  • About
  • Club AppleVis
  • FAQ
  • Contact

Unless stated otherwise, all content is copyright AppleVis. All rights reserved. © 2023 | Accessibility | Terms | Privacy