使 UIWebView 可访问
简单的问题。
我有一个 UIWebView。它显示带有一些标题的纯 html 文本。我希望 VoiceOver 读取此 Web 视图的内容。
如果我可以利用 VoiceOver 的转子让用户使用标题滚动浏览内容,那就太好了,但我还不会贪婪。
任何意见都会受到赞赏。
Simple question.
I have a UIWebView. It displays plain html text with a few headers. I want VoiceOver to read the content of this web view.
It would also be nice if I could make use of VoiceOver's rotor to let the user scroll through content using headers, but I won't get greedy yet.
Any input is appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
我了解到:如果包含 UIWebView 的视图被标记为启用辅助功能,则语音将不会传递到 UIWebView。
What I have learned: If the view that the UIWebView is contained in is marked as accessibility enabled then voiceover will not pass through to the UIWebView.
UIWebView
应该可以通过 VoiceOver 访问,而无需您执行任何操作。UIWebView
should be accessible with VoiceOver without you doing anything.读这个:
http://arstechnica.com/苹果/guides/2010/02/iphone-voiceservices-looking-under-the-hood.ars/
read this one :
http://arstechnica.com/apple/guides/2010/02/iphone-voiceservices-looking-under-the-hood.ars/
来自 iOS 开发人员文档以了解可访问性。
您可以执行以下操作(或手动设置标签):
这里有很多信息。我建议你咨询一下这个。
http://developer.apple.com/library/ios/#documentation/UserExperience/Conceptual/iPhoneAccessibility/Making_Application_Accessible/Making_Application_Accessible.html#//apple_ref/doc/uid/
From the iOS developer documentation for accessibility.
You can do something like this (or manually set a label):
There is a lot of information here. I suggest that you consult this.
http://developer.apple.com/library/ios/#documentation/UserExperience/Conceptual/iPhoneAccessibility/Making_Application_Accessible/Making_Application_Accessible.html#//apple_ref/doc/uid/