voiceover

Is there any way to have VoiceOver read a label on command?

江枫思渺然 提交于 2019-12-04 05:17:01
I'd like to have my QR code scanning app inform the user when it finds a QR code. For sighted users, this works using a label at the bottom that updates to notify the user. However, a blind user would have to tap on that label again to have it read by Voice Over. I would much prefer it to just read automatically. The closest I can find to this question is UIAccessibility - Read all the labels and buttons on the screen from top to down , which wasn't possible. While this doesn't bode well for my app, that was a year ago. Has Apple updated it's UIAccessibility protocol in any way to allow this?

Apple VoiceOver reading words as acronyms. Can this be controlled?

最后都变了- 提交于 2019-12-04 03:52:34
We have an issue where the Apple VoiceOver screen reader is reading words as acronyms. Here's an example: "NEW & USED" will read as "N-E-W and Used" We have honed in on the issue a bit and are seeing that words which are 3 characters or less and uppercase get read as acronyms. The text is uppercase via CSS text-transform: uppercase; . Has anyone found a way to control VoiceOver to and make it read the words? You could markup those words in this way <span aria-label="new & used">NEW & USED</span> UPDATE: using aria-label on a no longer works If you are using text-transform: uppercase , then, as

VoiceOver pronunciation issue: “Live” “ADD”

Deadly 提交于 2019-12-04 00:46:09
问题 I'm trying to implement accessibility for an iOS App and have been bumping into some of the nuances and quirks involved. For example: I have a label in my app that reads: "This is a live event." The definition of live in this context is "something that is currently happening" and when pronounced it should rhyme with "Five". However, voiceover understands and reads the word "live" as in: "live and let die", and is mispronounced rhyming the word with "Give". Similarly, another issue I am

Blind programmer: designing an interface in Xcode without being able to visually position UI elements

我只是一个虾纸丫 提交于 2019-12-04 00:31:43
I am fairly new to Mac and iOS programming, and have recently decided to get really serious about developing applications for both platforms. The first step I took was to register to the Mac and iOS developer programs, download Xcode and study a book about Objective-C. I spent the last 6 weeks familiarizing myself with Objective-C, its syntax, concepts and the Foundation framework, and was purely developing command line applications for those purposes. Now, the next step seems to be Cocoa and developing applications that offer graphical UIs, which I'm now looking into. Now, here's an issue I

Is it possible to detect if VoiceOver is on in a web page on iPhone?

我的梦境 提交于 2019-12-03 14:32:33
We're currently testing deploying "slippy" maps (i.e., ones that move around with a finger on a touchscreen device) on our mobile web app, using the touchmaplite JavaScript library. This map is embedded as an iframe in our web page. When we tested this setup on an iPhone with VoiceOver, we found VoiceOver gets "stuck" at the map, and won't read past it (or indeed scroll past it). This is a big stumbling block for us, we don't want to go backwards with accessibility support on our site. Is it possible to mark an element as to be "ignored" by VoiceOver, or to detect if VoiceOver is enabled in

Moving Accessibility Voiceover cursor focus to a specific element

无人久伴 提交于 2019-12-03 12:40:26
I'm having an issue with moving the voiceover cursor to a specific element on viewDidAppear. I followed Apple's guidelines for focusing on a specific element, in this case a dismiss button, but the cursor ends up elsewhere Here is my Code: - (void)viewDidAppear:(BOOL)animated { [super viewDidAppear:animated]; UIAccessibilityPostNotification(UIAccessibilityScreenChangedNotification, self.dismissButton); } Any help, ideas, would definitely be appreciated! thank you so much. If I remember correctly i was not able to reliably focus on elements on first of the view as VO will generally focus on the

setting an accessibilityLabel on a UIImageView contained in UITableView header

删除回忆录丶 提交于 2019-12-03 07:12:05
I have a UITableView that I build in loadView . One of the things I do in loadView is create a UIView to act as the table header and stuff a UIImageView into it. The image view contains an image that is a stylized title, so I want to add an accessibility label for VoiceOver users. However, I can't get VoiceOver to "focus" on the image in order to read the label, and the Accessibility Inspector doesn't respond to clicking on the image in the simulator. My (abbreviated) code follows: ... in -loadView ... // Make header view UIView *headerView = [[UIView alloc] initWithFrame:CGRectMake(...)];

iOS Voiceover status

人走茶凉 提交于 2019-12-03 04:02:22
问题 I am trying to add accessibility features to an iOS app that has already been developed. There are a couple of UI features (e.g. buttons) that I like them to show up if the VoiceOver option in the accessibility menu of the iPhone settings is on and do not show up if the voiceover is off. Is there a way to check whether the voiceover option is on or not? 回答1: BOOL UIAccessibilityIsVoiceOverRunning(); 回答2: In ViewDIdLoad [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector

VoiceOver Z gesture won't trigger when UIAlertController is active

ε祈祈猫儿з 提交于 2019-12-02 13:56:37
问题 I'm trying to use the Z gesture to dismiss a UIAlertController. I have a very simple app. It has a single view with 1 button. Tapping the button presents an alert. I have implemented - (BOOL)accessibilityPerformEscape { NSLog(@"Z gesture"); return YES; } With VoiceOver on, scrubbing the screen prints out "Z gesture," but when I press the button and the alert is visible, scrubbing the screen does nothing, the method is not called and nothing is printed. What do I have to do to get this to

VoiceOver is finding a nearby accessible element to read?

人走茶凉 提交于 2019-12-02 11:56:36
问题 I'm adding accessibility to my iOS app. I'm seeing a specific situation that when I tap on a UIView that has isAccessibilityElement = false , and all of its ancestor views are also isAccessibilityElement = false , VoiceOver will speak the text from this view's sibling - a different child of this view's parent. And in Accessibility Inspector, when I hover over this view, the sibling lights up. I don't understand how some view that's not in the hierarchy of the one I'm tapping on could be used