voiceover

How to have accessible swipe action for iCarousel

♀尐吖头ヾ 提交于 2019-12-10 11:58:33
问题 I am trying to make an accessible app. The problem arises when I wanted to have standard (Three-finger swipe right or left) behavior with iCarousel. Since iCarousel is not fully accessible by nature and it just lets user to have items be User intractable. I done some research, there are some workarounds but I also don't want to implement UIAccessibilityCustomAction cause this will not give the user easy to swipe ability. 回答1: You can override and implement accessibilityScroll(_:) method as:

Accessibility: Voicerover does not move focus to select element

匆匆过客 提交于 2019-12-10 11:49:22
问题 Following is markup of html <div class="abc1" role="main"> </div> <h1 >header1</h1> <div id="main" role="main" class="main-content"> <div> <div> <p>aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaa</p> <p><span class="errortxt"><a>Required fields message</a></span></p> </div> <div id="errorDisp"> <ol> <li id="message-1" aria-hidden="true"> <a></a> </li> <li id="message-2" aria-hidden="true"> <a></a> </li> <li id="message-3" aria-hidden="true"> <a></a> </li> <li

VoiceOver accessibility in a virtual musical instrument iPhone app?

不羁岁月 提交于 2019-12-10 03:12:23
问题 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

How can I override a screen-reader's pronunciation of a word in a sentence without having it pause mid-sentence?

好久不见. 提交于 2019-12-09 18:35:57
问题 Let's say I have the following sentence in HTML: <p>Please enter your licence number</p> The screen-reader mis-pronounces the word 'licence' as "liss-ens" (phonetic spelling). It should be pronounced "lice-ens" (phonetic spelling). I want to fix this by providing a phonetic spelling to the screen-reader, while having the text visually appear the same. I could use <span> s, aria- attributes and styling as follows: <p>Please enter your <span aria-hidden="true">licence</span><span style=

How do I support VoiceOver in UIPickerView on an iPad running an iPhone only app (non-universal)?

时光毁灭记忆、已成空白 提交于 2019-12-08 18:43:33
问题 Generally I look at Apple's UICatalog sample code for basic VoiceOver support however it looks like there is VoiceOver support for UIPickerViews in the sample code. Do I need to provide an accessibilityLabel method somewhere to add VoiceOver support? I tried to implement UIPickerViewAccessibilityDelegate methods but voice over only reads the labels in my picker view and not the hint to swipe up or down to change the values. Also my picker view is set to the input view of a UITextField. So I'm

Initial VoiceOver selection

本小妞迷上赌 提交于 2019-12-08 14:48:47
问题 I'm adding VoiceOver support to my app. So far, so good, but I'd really like to be able to specify which element is the first one spoken after a UIAccessibilityScreenChangedNotification. I haven't seen a way to do this. Making something the summary element doesn't really seem to do it. Am I missing something? 回答1: THis has always been perfectly possible to do. Just write something along the lines of: - (void)viewDidAppear:(BOOL)animated { [super viewDidAppear:animated];

VoiceOver: how to implement button that behaves like keys in Calculator

瘦欲@ 提交于 2019-12-08 06:22:39
问题 When you focus on a digit key in the Calculator app when using VoiceOver (either by tapping it once, sliding a finger over it, or by swiping left/right to it), VoiceOver announces the button title. Then if you "activate" the button by double tapping, it presses the button and VoiceOver announces the character that was inserted into the Calculator display with a higher pitch than the button title announcement. My question is: how can I get the same behavior for buttons in my app - repeat the

Gestures not getting detected in accessibility mode

僤鯓⒐⒋嵵緔 提交于 2019-12-07 12:53:31
问题 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

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

冷暖自知 提交于 2019-12-07 07:31:09
问题 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! 回答1: Assuming your text field is a subclass

How to disable accessibility for custom static UITableViewCell

北慕城南 提交于 2019-12-06 05:50:42
问题 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 ,