voiceover

setAccessibilityFocus using ref not working

青春壹個敷衍的年華 提交于 2020-08-10 22:52:43
问题 I'm using the ref prop along with findNodeHandle on a bunch of components in order to be able to trigger AccessibilityInfo.setAccessibilityFocus . However, it's not always working as expected. Sometimes the reference is null even though componentDidMount has executed. I'm often using setAccessibilityFocus in order to focus the header of a new element which appears on the screen, for example when opening a modal. IMPORTANT: This is Voiceover/Talkback functionality so you'll need to have that

setAccessibilityFocus using ref not working

送分小仙女□ 提交于 2020-08-10 22:47:59
问题 I'm using the ref prop along with findNodeHandle on a bunch of components in order to be able to trigger AccessibilityInfo.setAccessibilityFocus . However, it's not always working as expected. Sometimes the reference is null even though componentDidMount has executed. I'm often using setAccessibilityFocus in order to focus the header of a new element which appears on the screen, for example when opening a modal. IMPORTANT: This is Voiceover/Talkback functionality so you'll need to have that

Mac VoiceOver reads list items twice

给你一囗甜甜゛ 提交于 2020-07-06 12:13:46
问题 Here is my html: <html> <body> <ul> <li>Hello</li> <li>World</li> </ul> </body> </html> I'm using VoiceOver on Mac OS X 10.11.5. When I navigate this page with VO+A , I hear the following: HTML Content List two items Bullet Hello, group Hello Bullet World, group World You are currently on a text element. However, if I navigate with VO+left arrow and VO+right arrow , I get: List two items Bullet Hello Bullet World End of list Why is there a discrepancy between the two traversal options? And

Mac VoiceOver reads list items twice

社会主义新天地 提交于 2020-07-06 12:13:02
问题 Here is my html: <html> <body> <ul> <li>Hello</li> <li>World</li> </ul> </body> </html> I'm using VoiceOver on Mac OS X 10.11.5. When I navigate this page with VO+A , I hear the following: HTML Content List two items Bullet Hello, group Hello Bullet World, group World You are currently on a text element. However, if I navigate with VO+left arrow and VO+right arrow , I get: List two items Bullet Hello Bullet World End of list Why is there a discrepancy between the two traversal options? And

Mac VoiceOver reads list items twice

蓝咒 提交于 2020-07-06 12:12:51
问题 Here is my html: <html> <body> <ul> <li>Hello</li> <li>World</li> </ul> </body> </html> I'm using VoiceOver on Mac OS X 10.11.5. When I navigate this page with VO+A , I hear the following: HTML Content List two items Bullet Hello, group Hello Bullet World, group World You are currently on a text element. However, if I navigate with VO+left arrow and VO+right arrow , I get: List two items Bullet Hello Bullet World End of list Why is there a discrepancy between the two traversal options? And

How to stop Text to Speech when Voiceover is speaking, or vice versa in Swift?

别来无恙 提交于 2020-07-05 09:18:39
问题 Right now, my app implements AVSpeechSynthesizer to read out instructions for each screen. The app also takes into consideration when Voiceover accessibility feature is enabled. The problem I'm facing now is that the text to speech feature overlaps with the voiceover feature. Is there a solution to detect that when a user navigates to another element on the screen, TTS stops speaking, or when TTS is speaking, voiceover doesn't speak until TTS finishes (the former is preferred though). The