STR: 1. On a device running Jelly Bean 4.2 with TalkBack on, load any page from your home page. Expected: When the page finishes loading, TalkBack should announce the fact that the page was loaded. Actual: Some high-pitched beeps are heard indicating that a page scroll occurred, and "Back button disabled" is announced, but no page load. 2. Touch the display. Result: Now, TalkBack announces the page load completion. My impression is that the browser window loses focus to the Back button, and that the page load therefore is not being spoken until focus is returned to the window. This is behavior introduced with Android Jelly Bean 4.2.
dbolter - please reassign as necessary.
Created attachment 682622 [details] [diff] [review] Fix accessibility announcements. I can't explain what changed on the Android end to make this happen. But the solution here mimics View.announceForAccessibility(), so I feel pretty good about it.
I can confirm this fixes the problem and also still works on older Android versions as expected. Tested with a local build.
I pushed this on Eitan's behalf so it still makes the ride, hopefully, to Aurora in time: https://hg.mozilla.org/integration/mozilla-inbound/rev/66473f7c498f
Verified fixed in Nightly/20.0a1 of November 20, 2012.
Comment on attachment 682622 [details] [diff] [review] Fix accessibility announcements. [Approval Request Comment] Bug caused by (feature/regressing bug #): Android 4.2 User impact if declined: Blind users won't hear automatic announcements when new tabs are opened, pages finish loading, etc., once they update to Android 4.2 Testing completed (on m-c, etc.): Yes. Risk to taking this patch (and alternatives if risky): None. String or UUID changes made by this patch: None.
Comment on attachment 682622 [details] [diff] [review] Fix accessibility announcements. [Triage comment] Low risk a11y fix, approving for Aurora/Beta.
Pushed: https://hg.mozilla.org/releases/mozilla-aurora/rev/25369927b364 https://hg.mozilla.org/releases/mozilla-beta/rev/65e445cc6655
Additional verifications on Aurora built on Nov 27, 2012, and Beta, released November 27, 2012.