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

Issue 2427813002: Android accessibility should not treat whitespace-only nodes as interesting. (Closed)

Created:
4 years, 2 months ago by dmazzoni
Modified:
4 years, 1 month ago
Reviewers:
aboxhall
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

Android accessibility should not treat whitespace-only nodes as interesting. When linearly navigating through nodes in the accessibility tree, don't treat a leaf node with text as interesting if the text is only whitespace. Also fix an issue where requesting the first "interesting" node from the root of the tree could sometimes return the root itself, leading to a cycle. BUG=656779 Committed: https://crrev.com/100ba42f5f6b4ec409c5106749a65bdbb04c4328 Cr-Commit-Position: refs/heads/master@{#427172}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -3 lines) Patch
M content/browser/accessibility/browser_accessibility_android.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M content/browser/accessibility/one_shot_accessibility_tree_search.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/accessibility/one_shot_accessibility_tree_search_unittest.cc View 1 chunk +9 lines, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 14 (7 generated)
dmazzoni
4 years, 1 month ago (2016-10-22 21:51:30 UTC) #6
chromium-reviews
+ // Otherwise, the interesting nodes are leaf nodes with non-whitespace text. > + return ...
4 years, 1 month ago (2016-10-24 14:26:21 UTC) #7
dmazzoni
The original bug was actually filed about line breaks, i.e. <br> elements. I think there ...
4 years, 1 month ago (2016-10-24 15:04:52 UTC) #8
aboxhall
lgtm
4 years, 1 month ago (2016-10-24 19:06:24 UTC) #9
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/2427813002/1
4 years, 1 month ago (2016-10-24 19:08:05 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 1 month ago (2016-10-24 22:25:41 UTC) #12
commit-bot: I haz the power
4 years, 1 month ago (2016-10-24 22:28:05 UTC) #14
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/100ba42f5f6b4ec409c5106749a65bdbb04c4328
Cr-Commit-Position: refs/heads/master@{#427172}

Powered by Google App Engine
This is Rietveld 408576698