voiceover

iOS Accessibility for CollectionView in a TableViewCell

試著忘記壹切 提交于 2020-01-01 10:42:25
问题 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

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

别等时光非礼了梦想. 提交于 2020-01-01 08:49:31
问题 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? 回答1: You could markup those words in this way <span aria-label="new & used">NEW &

Announce everything in a UIWebView using VoiceOver?

耗尽温柔 提交于 2019-12-25 05:35:15
问题 My app is primarily loading text-based HTML files into a UIWebView . When a new HTML file is loaded, I'd like it to be read in its entirety to VoiceOver users. Right now, it reads only the headings within <h1> tags, and then stops. It works great if I double finger swipe down. I'd really just like to automate that process upon each new page load. Right now I'm using the following within webViewDidFinishLoad : UIAccessibilityPostNotification(UIAccessibilityScreenChangedNotification, self

iOS: UIAccessibility (Voice Over) with checkbox is not working properly

谁都会走 提交于 2019-12-24 17:03:51
问题 I am using voice over on checkbox. 
 The issue I am facing here is, when user selects the checkbox for the first time it says 'checkbox selected' (which is correct as per accessibilityLabel set) but next time when user tries to de-select it says 'checkbox selected, checkbox de-selected' where it should only say 'checkbox de-selected', vice-a-versa. 
 So what is happening here is that, the previously set accessibilityLabel is not getting cleared up and when user tries to select or de-select it

Can I influence what appears in the VoiceOver rotor?

我怕爱的太早我们不能终老 提交于 2019-12-24 05:53:05
问题 I have a text based app where I want my users to make use of the 'Lines' rotor option when VoiceOver is enabled. However the option doesn't appear. The text in my app is laid out using cells in a tableview (the cells contain UILabels and other views). I'm afraid my implementation affects how the rotor is "seeing" my app, but I think it's unfortunate if it limits me from supporting the rotor fully. Is there any way I can make use of the 'Lines' option in the rotor? 回答1: I think you are looking

UIAccessibilityContainer in child view controllers?

限于喜欢 提交于 2019-12-23 22:04:43
问题 I have a parent UIViewController to which I add four child view controllers. I’m trying to manage accessibility throughout those controllers. I have a status enum which keeps track of which of those children are visible on-screen, so when that changes, I’m updating the accessibilityElementsHidden of the children as appropriate, and sending a LayoutChanged notification. My question relates to implementing the UIAccessibilityContainer protocol in both the parent view controller, and inside each

UIAccessibilityFocus protocol not working

荒凉一梦 提交于 2019-12-23 17:26:16
问题 I want to know when a user shifts the focus away from an accessibility element. I have tried overriding the accessibilityElementDidLoseFocus() and accessibilityElementDidBecomeFocused() methods but the methods doesn't seem to be called upon when I navigate to other elements in VoiceOver accessibility mode. I have no idea what is wrong. Is there anything else that I should do to activate these methods? override func accessibilityElementDidBecomeFocused() { println("become focused") } override

Can you force a screen reader to read numbers as individual digits?

给你一囗甜甜゛ 提交于 2019-12-23 07:47:06
问题 Phone numbers are typically all digits, ignoring parens, dashes, pluses, etc., so input fields for phone numbers are typically numeric. When a screen reader encounters a numeric input field, it'll read the value as a whole number. For example, if I had three input fields for a US phone number, with the first being the area code (3 digits), then the exchange (3 digits), then the line (4 digits), if the fields have 123, 456, 7890 (respectively), the way we'd normally say that number is "one two

UITextView Linkable label Accessibility Voice Over Issue

二次信任 提交于 2019-12-22 18:45:12
问题 I have a UITextView and portion of the text is clickable. Link works. When I turn the accessibility feature in settings of the iPhone and turn on Voice over as well, the text of the textview is read out but the link is not working. The accessibility feature on storyboard of the textview is enabled and also link is selected under accessibility attributes and the link does not work when voice over is turned on. I have also tried adding isAccessbilityElement = true to the textview and ended up

Swipe Gesture Recogniser using voiceover

China☆狼群 提交于 2019-12-22 09:47:01
问题 I have a view with a few gesture recognisers (ala Clear). Should I add buttons only for voice over users instead? I thought about using the hint to say something like "3 Finger Swipe Right to Edit. Left to Delete. Up to Create a new one." but it seems like Apple discourages that. Even apple uses "Double Tap to Edit" on textFields and such and I have no idea why they discourage that. Does not include the name of the action or gesture. A hint does not tell users how to perform the action, it