时启用辅助功能对于Android的WebView?谁能告诉如何做出的WebView访问?
Is Accessibility enabled for Android WebView? Can anyone tell how to make a WebView accessible?
而Android的WebView访问是通过JavaScript注入蜂窝及以上的启用(如pointed由alanv )。在用户的必须启用它:
The Android webview accessibility is enabled via javascript injection in Honeycomb and above (as pointed out by alanv). The user must enable it by:
在打开辅助模式,其中包括4.0 +触摸浏览。 在启用增强的Web辅助功能,或者在较老的设备,注入的Web脚本。这的工作原理是通过&LT的JavaScript注入到每一个加载的页面;脚本>
标签。请注意,你必须要小心,因为不是所有的内容将发挥好与这个JavaScript,而注入将在一些边缘情况下失败。
This works by injecting javascript into each loaded pages via <script>
tags. Note that you will have to be careful, as not all content will play nice with this javascript, and the injection will fail in some edge cases.