WebView with javascript enabled is not accessible to talkback screen reader

207 views
Skip to first unread message

Sérgio Neves

unread,
May 14, 2013, 10:44:57 AM5/14/13
to eyes-f...@googlegroups.com
Hi,
I have samsung galaxy III mini with android 4.1.2 and talkback 3.3.2.
I need to implement an activity which comprises an WebView with
javascript enabled, so that I can access the DOM.
When I don't enable javascript, talkback screen reader doesn't have
problem reading the text present in WebView. However, when I enable
javascript with:
webView.getSettings().setJavaScriptEnabled(true);
it seems the application becomes less responsive with talkback enabled
and the text is not announced when I navigate through it.
Do you know what leads to this situation and if there is something I can
do to improve it?
Do you know what controls besides WebView we can use to show HTML pages
with javascript enabled, so that we can access the DOM?

Any help is greatly appreciated.
Best regards,
S�rgio Neves

Mike Arrigo

unread,
May 18, 2013, 9:50:05 AM5/18/13
to eyes-f...@googlegroups.com
This is because the web scripts use java script to read the page. The real way to fix this is that the default web engine needs to expose its contents without using web scripts the way firefox does.
> Sérgio Neves
>
> --
> You received this message because you are subscribed to the Google Groups "Eyes-free Programming and development" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to eyes-free-de...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

Reply all
Reply to author
Forward
0 new messages