voiceover

Why isn't UIAccessibilityNotification not moving to correct argument?

£可爱£侵袭症+ 提交于 2020-02-16 05:25:52
问题 I have a UISwitch inside tableviewcell. The toggle makes a network request. A UIActivityIndicator replaces the switch until the response completes. So the UX flow is as such: off --> loader --> on Before the label is tapped the accessibility reads as such: label - value - hint ‘streaming - switch button off - double tap to toggle switch’ My code is as such: @IBAction func switchToggled(_ sender: Any) { toggle.isHidden = true activityIndicatorView.startAnimating() UIAccessibility.post

Why isn't UIAccessibilityNotification not moving to correct argument?

主宰稳场 提交于 2020-02-16 05:24:30
问题 I have a UISwitch inside tableviewcell. The toggle makes a network request. A UIActivityIndicator replaces the switch until the response completes. So the UX flow is as such: off --> loader --> on Before the label is tapped the accessibility reads as such: label - value - hint ‘streaming - switch button off - double tap to toggle switch’ My code is as such: @IBAction func switchToggled(_ sender: Any) { toggle.isHidden = true activityIndicatorView.startAnimating() UIAccessibility.post

Move accessibility focus programmatically

雨燕双飞 提交于 2020-01-22 18:59:46
问题 Is it possible to move the accessibility focus (VoiceOver for iOS and Talkback for Android) to a defined widget when pressing a button? I've tried searching in the Semantics package but I can't find a way to obtain this. It would be enough also to make the screen reader restart the semantics tree from the beginning. I have a PageView with 3 pages and buttons to move back/forward using a PageController . I would like to move the focus to the beginning of the page when this changes using the

How can I set an accessibility trait for the placeholder text in UITextField?

若如初见. 提交于 2020-01-11 08:45:11
问题 I'm going through our iOS app to fix accessibility issues. One of the features of the app is a UITextField in which the user can enter search queries. I've set the trait of the field to be "search field", and VoiceOver does a good job with the field most of the time. When there's text in the field, it reads the text, then says "search field". The problem I want to solve is how VoiceOver handles the placeholder text. When the text field is empty, we've set the placeholder text to show a sample

Can I support VoiceOver in my Cocos2D-iPhone Game?

自闭症网瘾萝莉.ら 提交于 2020-01-03 17:12:30
问题 I'm making a game where a player reacts to sounds via motion - seeing as the visual element isn't needed to play it, and many play with their eyes closed, it seems a shame to not be fully VoiceOver compatible. I'm currently using Cocos2D-iPhone and CocosDenshion for audio, and am now starting to think about how I'll be building my menu system to choose levels and configure controls. Is it reasonably easy to support VoiceOver in Cocos2D's menu system, or should I look in to trying to create my

Prevent background items from receiving focus while modal overlay is covering them?

我与影子孤独终老i 提交于 2020-01-03 08:53:12
问题 I am working on making an overlay modal more accessible. It works essentially like this JSFiddle. When you open the modal, the focus doesn't properly go into the modal, and it continues to focus on other (hidden, background) items in the page. You can see in my JSFiddle demo that I have already used aria-controls , aria-owns , aria-haspopup and even aria-flowto . <button aria-controls="two" aria-owns="true" aria-haspopup="true" aria-flowto="two" onclick="toggleTwo();" > TOGGLE DIV #2 </button

How do you exclude a UIButton from VoiceOver?

瘦欲@ 提交于 2020-01-02 02:19:12
问题 I have a UIButton that is sometimes blank (no text or image). When it is blank, I want VoiceOver to skip over it. I've tried the following things, but none of them do the job -- the button still gets highlighted as the user swipes through the views: Set the button and all of its subviews' .accessibilityTraits to UIAcessibilityTraitNotEnabled. This prevents VoiceOver from saying anything when the button is selected, but it still allows the button to be selectable by VoiceOver. Disable the

iOS VoiceOver crash (message sent to deallocated instance)

◇◆丶佛笑我妖孽 提交于 2020-01-01 17:03:16
问题 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

iOS Accessibility for CollectionView in a TableViewCell

人盡茶涼 提交于 2020-01-01 10:45:54
问题 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

iOS Accessibility for CollectionView in a TableViewCell

纵饮孤独 提交于 2020-01-01 10:42:48
问题 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