Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(47)

Issue 2397503002: Don't post events on internal nodes in the accessibility tree on Android. (Closed)

Created:
4 years, 2 months ago by dmazzoni
Modified:
4 years, 2 months ago
Reviewers:
David Tseng
CC:
chromium-reviews, aboxhall+watch_chromium.org, nektar+watch_chromium.org, jam, yuzo+watch_chromium.org, je_julie, darin-cc_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't post events on internal nodes in the accessibility tree on Android. Sometimes we get events on nodes in the internal accessibility tree that are not exposed on that platform or under all circumstances. On Android that led to an issue where after closing a SELECT pop-up, we got a focus event on the OPTION and subsequent navigation was trapped inside that control rather than outside it. The fix is to map the focus event to the topmost leaf ancestor, which in this case would be the SELECT element. BUG=652805 Committed: https://crrev.com/7969d3a5bcf2af3fac57c3acef518298e8c48382 Cr-Commit-Position: refs/heads/master@{#422944}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -3 lines) Patch
M content/browser/accessibility/browser_accessibility_manager_android.cc View 3 chunks +12 lines, -3 lines 2 comments Download

Messages

Total messages: 13 (7 generated)
dmazzoni
4 years, 2 months ago (2016-10-04 19:38:52 UTC) #2
David Tseng
lgtm https://codereview.chromium.org/2397503002/diff/1/content/browser/accessibility/browser_accessibility_manager_android.cc File content/browser/accessibility/browser_accessibility_manager_android.cc (right): https://codereview.chromium.org/2397503002/diff/1/content/browser/accessibility/browser_accessibility_manager_android.cc#newcode231 content/browser/accessibility/browser_accessibility_manager_android.cc:231: node = parent; Break? Are there leaves that ...
4 years, 2 months ago (2016-10-04 19:56:15 UTC) #5
dmazzoni
https://codereview.chromium.org/2397503002/diff/1/content/browser/accessibility/browser_accessibility_manager_android.cc File content/browser/accessibility/browser_accessibility_manager_android.cc (right): https://codereview.chromium.org/2397503002/diff/1/content/browser/accessibility/browser_accessibility_manager_android.cc#newcode231 content/browser/accessibility/browser_accessibility_manager_android.cc:231: node = parent; On 2016/10/04 19:56:15, David Tseng wrote: ...
4 years, 2 months ago (2016-10-04 21:35:09 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2397503002/1
4 years, 2 months ago (2016-10-04 21:35:52 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 2 months ago (2016-10-04 21:42:25 UTC) #11
commit-bot: I haz the power
4 years, 2 months ago (2016-10-04 21:44:14 UTC) #13
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/7969d3a5bcf2af3fac57c3acef518298e8c48382
Cr-Commit-Position: refs/heads/master@{#422944}

Powered by Google App Engine
This is Rietveld 408576698