Discussion Forums  >  Uncategorized

Replies: 5    Views: 165

ianJamesPiano
Code is Art
Profile
Posts: 2661
Reg: Feb 13, 2011
Palm Springs, C...
37,010
01/02/12 03:46 PM (14 years ago)

VoiceOver function any ideas?

Hi, i was contacted from a group of visually impaired musicians about my pitch pipe app that has been downloaded over 30,000 so far...for people with goos sight the app is fine but for the blind the voiceover function would really help them...the problem is that when using voiceover to scroll thru the buttons it just says ''button'' and not the actual text name on the button. Be cool if i could figure this out for them, it's a free download so it will help many. Pitch Pipe Now is the app name in app store :) thanks! Here is a link describing the problem http://www.aisquared.com/blog/2011/12/labeling-idevice-buttons-to-expand-app-accessibility/
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
01/03/12 03:12 AM (14 years ago)
Before I finish for the night... I saw this earlier and didn't get anywhere yet. But, I'm convinced we can figure this out. Love this idea! Stay tuned on this thread, maybe tomorrow I'll have a bit more 411.
 
ianJamesPiano
Code is Art
Profile
Posts: 2661
Reg: Feb 13, 2011
Palm Springs, C...
37,010
like
01/03/12 03:21 AM (14 years ago)
Thanks David, I'll have to forward you the emails I got, pretty cool...get some rest!!
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
01/03/12 03:21 AM (14 years ago)
OK, check this....because I'm not totally sure about what iOS is labeling / not labeling in accessibility mode (blind, deaf, etc) this may take some tinkering. I'll bet it's one of two things. Either a), set the Accessibility Label for the UILabel on the button or b) doing the same thing on the UIButton itself. It may not hurt to do both? It's a matter of figuring out what iOS is showing and looking for. Try this... 1) Open BT_screen_menuButtons.m and find the 'loop' that adds all the buttons to the scroller. Around line 475 or so, look for the 'for loop' 2) Create a new string to hold the value of the label. Do this like on line 483 or so, just above the UILabel *buttonLabel.......line NSString *buttonText = [[thisMenuItem jsonVars] objectForKey:@'titleText']; 3) set the Accessibility Label for the UILabel, like under the line where it sets the number of lines... [buttonLabel setAccessibilityLabel:buttonText]; 4) Do the same thing for the UIButton we create lower in the code, like before setting it's frame... [thisButton setAccessibilityLabel:buttonText]; Find a blind guy, see if he can 'read it' Bet it works.
 
ianJamesPiano
Code is Art
Profile
Posts: 2661
Reg: Feb 13, 2011
Palm Springs, C...
37,010
like
01/03/12 03:35 AM (14 years ago)
Hmm, didn't seem to make difference, I'll keep fiddling, this would be a very cool feature, they said they need more apps to be able to do this...interesting stuff...no rush...get some sleep :) edit: What's happening is that it says ''button'' for each button in a row then goes back and says the title text on the button edit: noticed that Nav bar title and Next Button in nav bar read the text aloud properly
 
tompos
Veteran developer
Profile
Posts: 133
Reg: Oct 19, 2013
Würzburg
7,430
like
01/13/16 07:30 AM (10 years ago)
Funny story. Last week I got a call from a former client. I had made an app for his restaurant using the SeattleCloud app builder (well, before I even heard of Buzztouch...). The client told me "Yesterday a blind guest visited my restaurant and when I asked whether I should read out the menu for him he said 'No, I use your app to get this information before I come to your restaurant, it is one of the few apps that are great for blind people...'. Do you know that our app can do that?" To be honest... I did not know that at all. But it is great that SeattleCloud put this feature in every screen. So this makes a consistent behavior across the entire app. ... I tried my Buzztouch apps. It was very easy to implement this feature in my plugins following David's suggestions. The problem might be that I would have to go through all other plugins as well to achieve such a consistent behavior... Hey, plugin developers... why not implement the setAccessibilityLabel feature in your next update? *smile* The other lesson from this story for me was... my app generated value for my client and his guest that I had never expected... Have a nice day Thomas
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.