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

Issue 1872013002: Fix Android accessibility for editable text fields (Closed)

Created:
4 years, 8 months ago by dmazzoni
Modified:
4 years, 8 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
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix Android accessibility for editable text fields For text fields we need to set the text using setText, not setContentDescription, and we also need to call setEditable(true), both on the AccessibilityNodeInfo for the editable text field. See bug for details, this allows you to use cursor controls in TalkBack. BUG=592297 Committed: https://crrev.com/a21c5040b40f34ea13ce37c85f0f1036b16e124a Cr-Commit-Position: refs/heads/master@{#387054}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Replace secure password with dots #

Patch Set 3 : Update test expectation #

Messages

Total messages: 18 (6 generated)
dmazzoni
4 years, 8 months ago (2016-04-08 18:49:58 UTC) #2
David Tseng
https://codereview.chromium.org/1872013002/diff/1/content/browser/accessibility/browser_accessibility_manager_android.cc File content/browser/accessibility/browser_accessibility_manager_android.cc (right): https://codereview.chromium.org/1872013002/diff/1/content/browser/accessibility/browser_accessibility_manager_android.cc#newcode406 content/browser/accessibility/browser_accessibility_manager_android.cc:406: if (!node->IsPassword() || How do we currently work with ...
4 years, 8 months ago (2016-04-11 16:48:35 UTC) #3
dmazzoni
https://codereview.chromium.org/1872013002/diff/1/content/browser/accessibility/browser_accessibility_manager_android.cc File content/browser/accessibility/browser_accessibility_manager_android.cc (right): https://codereview.chromium.org/1872013002/diff/1/content/browser/accessibility/browser_accessibility_manager_android.cc#newcode406 content/browser/accessibility/browser_accessibility_manager_android.cc:406: if (!node->IsPassword() || On 2016/04/11 16:48:34, David Tseng wrote: ...
4 years, 8 months ago (2016-04-11 20:49:06 UTC) #4
David Tseng
https://codereview.chromium.org/1872013002/diff/1/content/browser/accessibility/browser_accessibility_manager_android.cc File content/browser/accessibility/browser_accessibility_manager_android.cc (right): https://codereview.chromium.org/1872013002/diff/1/content/browser/accessibility/browser_accessibility_manager_android.cc#newcode406 content/browser/accessibility/browser_accessibility_manager_android.cc:406: if (!node->IsPassword() || On 2016/04/11 20:49:06, dmazzoni wrote: > ...
4 years, 8 months ago (2016-04-11 21:01:42 UTC) #5
dmazzoni
You're right, I think it makes more sense for us to return dots when it's ...
4 years, 8 months ago (2016-04-12 18:18:26 UTC) #6
David Tseng
lgtm As discussed offline, circle back with TalkBack team to iron out final desired behavior.
4 years, 8 months ago (2016-04-12 18:35:35 UTC) #7
chromium-reviews
Doesn't Blink already return dots or whatever is the mask character for the value attribute ...
4 years, 8 months ago (2016-04-12 18:36:42 UTC) #8
dmazzoni
OK, the TalkBack team confirmed this is correct. Nektarios, we can't rely on Blink doing ...
4 years, 8 months ago (2016-04-12 23:27:18 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1872013002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1872013002/20001
4 years, 8 months ago (2016-04-12 23:27:49 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1872013002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1872013002/40001
4 years, 8 months ago (2016-04-13 17:58:51 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 8 months ago (2016-04-13 18:55:23 UTC) #16
commit-bot: I haz the power
4 years, 8 months ago (2016-04-13 18:56:35 UTC) #18
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/a21c5040b40f34ea13ce37c85f0f1036b16e124a
Cr-Commit-Position: refs/heads/master@{#387054}

Powered by Google App Engine
This is Rietveld 408576698