voiceover

Gestures not getting detected in accessibility mode

自古美人都是妖i 提交于 2019-12-06 01:58:38
I am programming an app where I need to put a label onto top of the screen and whenever user touches it (or swipes finger above it), I need the label text to be read out loud. I tried the following ways: First make the accessibility element of the label = YES . [labelInfo setIsAccessibilityElement:YES]; But this doesn't work. Then I tried defining many gestures like two touches, single tap; long tap using one and two fingers etc., and in that gesture class I write UIAccessibilityPostNotification , so that the text can be read out loud. But it doesn't seem to work at all. This is how I did it:

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

隐身守侯 提交于 2019-12-05 14:04:01
问题 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

iOS Accessibility hide the “textField, double tap to edit” announcement

核能气质少年 提交于 2019-12-05 13:38:16
I have a textField with a pickerView as the inputView. Now when I have the voiceover on and select the textField, the voiceover will read this: "Quantity: 3 (content of the textField)", then "textField", then "Double tap to edit". Is there anyway to make the voiceover just reads the content and skip the following "textField. Double tap to edit"? I have tried to give the textField another UIAccessibilityTraits/Hints and they are not working. Thanks! Assuming your text field is a subclass of UITextField, you're looking for the static text trait. UITextField* aTextField = ..... aTextField |=

VoiceOver accessibility in a virtual musical instrument iPhone app?

て烟熏妆下的殇ゞ 提交于 2019-12-05 04:05:57
I have received comments from blind users that some of my sound and music related apps only work with VoiceOver off. With VoiceOver Accessibility enabled on an iOS device, is it possible to enable a music keyboard or drum pad touch area so that music sounds can be played immediately, instead of VoiceOver prompts, when a keyboard key or virtual drum set (etc.) is tapped? Just setting the UIAccessibilityTraitPlaysSound AccessibilityTrait on a UIView subview doesn't seem to do it. I get VoiceOver clicking instead of piano or drum sounds with VoiceOver enabled. A blind user can turn VoiceOver

VoiceOver pronunciation issue: “Live” “ADD”

梦想与她 提交于 2019-12-05 01:53:17
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 bumping into is with the word "ADD" in the context of "ADD A SELECTION". The meaning of the word in its

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

。_饼干妹妹 提交于 2019-12-04 21:52:04
问题 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

iOS VoiceOver crash (message sent to deallocated instance)

巧了我就是萌 提交于 2019-12-04 17:02:43
I am getting a weird crash when running my app with VoiceOver enabled. The app has a sidebar interface (like Facebook). When tapping on one of the UITableViewCell s in the sidebar UITableView , I swap out the view controller (create a new one based on which cell was tapped and deallocate the old one). While VoiceOver is enabled, I sometimes get a crash when I tap the cell. This crash does not occur every time (it is about once every two or three tries) and this is not the only thing that causes the crash (but in my testing it is the main thing that triggers it). Keep in mind this crash only

VoiceOver announces dimmed instead of disabled for buttons

我与影子孤独终老i 提交于 2019-12-04 14:10:38
iOS 8.x VoiceOver announces dimmed instead of disabled for buttons that have been disabled. Is there a way to programmatically get VoiceOver to say "disabled" instead of "dimmed"? There are ways to do what you want, but you absolutely should not use them. The announcement "Dimmed" occurs, when the User Interaction Enabled trait is set to NO . This is the way VoiceOver users are use to on screen, focusable, but disabled elements being announced. Forcing your app to behave in another manner is poor accessibility (See WCAG 2.0 Guideline 3.2.3). Something you can do, if you want it to be truly

How to disable accessibility for custom static UITableViewCell

我怕爱的太早我们不能终老 提交于 2019-12-04 10:50:32
I have a storyboard containing a UITableViewController with static content. The cells are very simple, containing just a single UILabel . If I now want to disable accessibility on one of the cells, I simply uncheck the mark on the label. This works as expected. However if I now create an empty subclass of UITableViewCell and use this as the cell class for my static cell, accessibility will be enabled, ignoring all settings. I tried overriding -isAccessibilityElement to return NO , programmatically setting all child views accessibilityElement property to NO , but it still will be selectable

iOS Accessibility for CollectionView in a TableViewCell

天大地大妈咪最大 提交于 2019-12-04 07:24:23
I'm currently working on the accessibility of our project, and here is UICollectionView that is put into a custom UITableViewCell. This CollectionView has tens of cells that are arranged in multiply rows rather than one row. It raises an issue that when you have voiceOver on and move the focus between the collectionViewCells by swiping left or right, the system thought you are swiping between tableViewCells, since collectionView is in the tableView, and the contentOffSet of the tableView will be changed according to the tableViewCell size, instead of the collectionViewCell size. CollectionView