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

Issue 2762123006: Android Autofill Accessibility, Phase I (Closed)

Created:
3 years, 9 months ago by csashi
Modified:
3 years, 8 months ago
CC:
chromium-reviews, Ted C
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Adds accessibility navigation into autofill popup using right swipes. The autofill popup does not have a corresponding AX node in the AX tree sent by renderer to browser. Hence, we create a proxy AX node that is "attached" to the field that is displaying the popup for navigation. This feature is currently disabled by default because we have to improve the navigation as follows: 1. Navigate to autofill popup only on double-tap. Currently right swipe takes user into the auto popup. 2. When user right swipes out of last suggestion in the popup, we must navigate to the HTML element that is after the field hosting the popup. 3. When user presses back button, the user is able to edit the text field but the accessibility navigation focus remains on the back button. Please refer to https://drive.google.com/a/google.com/file/d/0B-jTnU8uuAL9WV9RWXpvYTVQaDQ/view?usp=sharing BUG=627860 Review-Url: https://codereview.chromium.org/2762123006 Cr-Commit-Position: refs/heads/master@{#461610} Committed: https://chromium.googlesource.com/chromium/src/+/df20b103282ad2d7103cd5c078712893ba92e255

Patch Set 1 #

Total comments: 6

Patch Set 2 : Changes focus to Android ListView of the popup. #

Patch Set 3 : Changes focus to Android ListView of the popup. #

Patch Set 4 : Changes focus to Android ListView of the popup. #

Patch Set 5 : Changes focus to Android ListView of the popup. #

Patch Set 6 : Creates AX proxy node only if Android autofill accessibility is enabled. #

Patch Set 7 : Creates AX proxy node only if Android autofill accessibility is enabled. #

Total comments: 21

Patch Set 8 : Removes backPressed handler. #

Patch Set 9 : Uses GetFocus() to find element hosting Popup. Removes sendAccessibilityEvent when we want to switc… #

Patch Set 10 : Remove include of content/public/common/content_client.h #

Patch Set 11 : Fixes merge error. #

Patch Set 12 : Fixes merge error. #

Patch Set 13 : Adds android autofill accessibility to about-flags.cc #

Total comments: 6

Patch Set 14 : Removes trailing underscore from global statics. #

Patch Set 15 : Adds histograms for histograms test. #

Patch Set 16 : Adds histograms for histograms test. #

Total comments: 4

Patch Set 17 : Move kAndroidAutofillAccessibility feature under OS_ANDROID. #

Patch Set 18 : Move kAndroidAutofillAccessibility feature under OS_ANDROID. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+152 lines, -11 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillPopupBridge.java View 1 2 3 4 5 6 5 chunks +16 lines, -2 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/flag_descriptions.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/flag_descriptions.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +5 lines, -0 lines 0 comments Download
M content/app/strings/content_strings.grd View 1 2 3 4 5 6 7 8 9 11 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_manager_android.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +13 lines, -0 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_manager_android.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 6 chunks +74 lines, -4 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java View 1 2 3 4 5 6 7 8 8 chunks +23 lines, -5 lines 0 comments Download
M content/public/common/content_features.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -0 lines 0 comments Download
M content/public/common/content_features.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +5 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 74 (45 generated)
csashi
Hi Dominic, I created this patch so it will be easy to discuss how to ...
3 years, 9 months ago (2017-03-22 01:11:36 UTC) #2
dmazzoni
This seems along the right lines to me. How well is it working? https://codereview.chromium.org/2762123006/diff/1/chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillPopupBridge.java File ...
3 years, 9 months ago (2017-03-22 16:13:54 UTC) #3
dmazzoni
TalkBack moves around by setting accessibility focus. I think the Popup bridge should pass the ...
3 years, 9 months ago (2017-03-22 16:17:44 UTC) #4
csashi
Hi Dominic, Things that are working: 1. Right swipe takes us into the popup. 2. ...
3 years, 9 months ago (2017-03-24 01:32:23 UTC) #5
csashi
Hi Dominic, For your convenience, I created a video @ https://drive.google.com/a/google.com/file/d/0B-jTnU8uuAL9WV9RWXpvYTVQaDQ/view?usp=sharing At the 16 second ...
3 years, 9 months ago (2017-03-24 16:32:16 UTC) #6
dmazzoni
On Thu, Mar 23, 2017 at 6:32 PM csashi via Chromium-reviews < chromium-reviews@chromium.org> wrote: > ...
3 years, 9 months ago (2017-03-24 20:41:29 UTC) #7
csashi
Hi Dominic, As discussed, I have bracketed the change under a feature flag that is ...
3 years, 8 months ago (2017-03-28 05:01:45 UTC) #10
csashi
On 2017/03/28 05:01:45, csashi wrote: > Hi Dominic, > As discussed, I have bracketed the ...
3 years, 8 months ago (2017-03-28 16:45:02 UTC) #17
dmazzoni
https://codereview.chromium.org/2762123006/diff/120001/chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java File chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java (right): https://codereview.chromium.org/2762123006/diff/120001/chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java#newcode1490 chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java:1490: && browserAccessibilityManager.handleBackPressed()) { Instead of handleBackPressed(), maybe call this ...
3 years, 8 months ago (2017-03-28 16:47:35 UTC) #21
csashi
Hi Dominic, Please take a look. Thanks! -sashi. https://codereview.chromium.org/2762123006/diff/120001/chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java File chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java (right): https://codereview.chromium.org/2762123006/diff/120001/chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java#newcode1490 chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java:1490: && ...
3 years, 8 months ago (2017-03-28 17:48:10 UTC) #24
dmazzoni
lgtm https://codereview.chromium.org/2762123006/diff/240001/content/browser/accessibility/browser_accessibility_manager_android.cc File content/browser/accessibility/browser_accessibility_manager_android.cc (right): https://codereview.chromium.org/2762123006/diff/240001/content/browser/accessibility/browser_accessibility_manager_android.cc#newcode124 content/browser/accessibility/browser_accessibility_manager_android.cc:124: int32_t g_element_hosting_autofill_popup_id_ = -1; Nit: no training underscore ...
3 years, 8 months ago (2017-03-29 17:28:44 UTC) #29
csashi
Hi Mathieu, Can you approve for chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillPopupBridge.java? Hi Carlos, Can you approve for chrome/browser/, content/app, ...
3 years, 8 months ago (2017-03-29 18:26:27 UTC) #31
csashi
Hi Carlos, Correction. I need your approval only for content/ -sashi.
3 years, 8 months ago (2017-03-29 18:27:44 UTC) #33
csashi
Hi Eric, Please review changes in tools/metrics/histograms/. Thanks, -sashi.
3 years, 8 months ago (2017-03-29 21:12:17 UTC) #39
Eric Willigers
On 2017/03/29 21:12:17, csashi wrote: > Hi Eric, > Please review changes in tools/metrics/histograms/. Thanks, ...
3 years, 8 months ago (2017-03-29 23:06:35 UTC) #45
Steven Holte
histograms lgtm
3 years, 8 months ago (2017-03-30 00:15:27 UTC) #46
Mathieu
lgtm
3 years, 8 months ago (2017-03-30 13:21:54 UTC) #47
csashi
On 2017/03/29 23:06:35, Eric Willigers wrote: > On 2017/03/29 21:12:17, csashi wrote: > > Hi ...
3 years, 8 months ago (2017-03-30 16:44:07 UTC) #48
csashi
3 years, 8 months ago (2017-03-30 16:44:30 UTC) #50
csashi
On 2017/03/30 16:44:07, csashi wrote: > On 2017/03/29 23:06:35, Eric Willigers wrote: > > On ...
3 years, 8 months ago (2017-03-30 19:24:27 UTC) #51
csashi
Hi jochen@chromium.org: Please review changes in content/ Thanks, -sashi.
3 years, 8 months ago (2017-03-31 19:00:00 UTC) #58
csashi
On 2017/03/29 18:27:44, csashi wrote: > Hi Carlos, > Correction. I need your approval only ...
3 years, 8 months ago (2017-04-03 18:00:01 UTC) #60
cpu_(ooo_6.6-7.5)
https://codereview.chromium.org/2762123006/diff/300001/content/public/common/content_features.h File content/public/common/content_features.h (right): https://codereview.chromium.org/2762123006/diff/300001/content/public/common/content_features.h#newcode76 content/public/common/content_features.h:76: CONTENT_EXPORT extern const base::Feature kNativeAndroidHistoryManager; seems line 19 should ...
3 years, 8 months ago (2017-04-03 23:21:20 UTC) #61
cpu_(ooo_6.6-7.5)
the rest lgtm https://codereview.chromium.org/2762123006/diff/300001/content/browser/accessibility/browser_accessibility_manager_android.h File content/browser/accessibility/browser_accessibility_manager_android.h (right): https://codereview.chromium.org/2762123006/diff/300001/content/browser/accessibility/browser_accessibility_manager_android.h#newcode233 content/browser/accessibility/browser_accessibility_manager_android.h:233: jboolean IsAutofillPopupNode(JNIEnv* env, lets indent 233 ...
3 years, 8 months ago (2017-04-03 23:23:59 UTC) #62
csashi
https://codereview.chromium.org/2762123006/diff/300001/content/browser/accessibility/browser_accessibility_manager_android.h File content/browser/accessibility/browser_accessibility_manager_android.h (right): https://codereview.chromium.org/2762123006/diff/300001/content/browser/accessibility/browser_accessibility_manager_android.h#newcode233 content/browser/accessibility/browser_accessibility_manager_android.h:233: jboolean IsAutofillPopupNode(JNIEnv* env, On 2017/04/03 23:23:59, cpu wrote: > ...
3 years, 8 months ago (2017-04-03 23:35:09 UTC) #63
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/2762123006/320001
3 years, 8 months ago (2017-04-03 23:36:23 UTC) #66
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/420924)
3 years, 8 months ago (2017-04-03 23:46:28 UTC) #68
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/2762123006/340001
3 years, 8 months ago (2017-04-04 00:19:45 UTC) #71
commit-bot: I haz the power
3 years, 8 months ago (2017-04-04 01:54:19 UTC) #74
Message was sent while issue was closed.
Committed patchset #18 (id:340001) as
https://chromium.googlesource.com/chromium/src/+/df20b103282ad2d7103cd5c07871...

Powered by Google App Engine
This is Rietveld 408576698