Use reflection for getView, getSettings, getTextSize/getTextZoom, and
setTextSize/setTextZoom so that the View does not need to be cast as an
android.webkit.WebView.
TalkBack announces successive AccessibilityEvent.TYPE_ANNOUNCEMENT
events by adding rather than flushing the queue.
With Android’s migration away from using ChromeVox for WebViews, this
became more noticeable.
Adding AccessibilityManager.interrupt() before the announcement stops
any speech that may be in progress, before making an announcement.
Adjust behavior of MobileAccessibility.updateTextZoom and
MobileAccessibility.getTextZoom so they both return the correct updated
zoom value to a callback method.
Adjust behavior of isTalkBackRunning and isVoiceOverRunning so that
they return true only for the appropriate platform.
More robust iOS support is forthcoming, but currently works with iOS7
Dynamic Type Fonts by setting the following css on the body and using
relatively sized fonts sizing for child containers, for example:
body {
font: -apple-system-body;
}
body > .app {
font-family: 'HelveticaNeue-Light', 'HelveticaNeue', Helvetica,
Arial, sans-serif;
font-size:0.75em;
font-weight: 200;
}