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

Issue 2469383002: Android accessibility: skip the root element when it has no title (Closed)

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

Android accessibility: skip the root element when it has no title By default when a node is focusable it's always interesting (meaning we always land on it in sequential navigation) and we try to get its text from contents if it doesn't have a name (so that something is announced when you land on it). Make an exception for the root element, because landing on a WebView and having it read the entire text is too verbose and confusing. BUG=660090 Committed: https://crrev.com/cf18133784e2e5d324c09b99a6b142874e609364 Cr-Commit-Position: refs/heads/master@{#432621}

Patch Set 1 #

Patch Set 2 : Fix two test expectations #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -4 lines) Patch
M content/browser/accessibility/browser_accessibility_android.cc View 2 chunks +12 lines, -0 lines 0 comments Download
M content/test/data/accessibility/aria/aria-none-expected-android.txt View 1 1 chunk +2 lines, -2 lines 0 comments Download
M content/test/data/accessibility/aria/aria-presentation-expected-android.txt View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 22 (10 generated)
dmazzoni
4 years, 1 month ago (2016-11-02 18:48:55 UTC) #2
David Tseng
This seems like a round about fix. Why not just make webviews without a title ...
4 years, 1 month ago (2016-11-02 19:33:38 UTC) #3
David Tseng
On 2016/11/02 19:33:38, David Tseng wrote: > This seems like a round about fix. Why ...
4 years, 1 month ago (2016-11-02 19:36:10 UTC) #4
chromium-reviews
I happened to see this patch and I have a comment. Feel free to ignore ...
4 years, 1 month ago (2016-11-02 19:47:28 UTC) #5
dmazzoni
For an embedded WebView I see no reason to announce the url. Usually that's intended ...
4 years, 1 month ago (2016-11-02 19:55:47 UTC) #6
David Tseng
lgtm
4 years, 1 month ago (2016-11-02 21:47:41 UTC) #7
David Tseng
On Wed, Nov 2, 2016 at 12:47 PM, 'Nektarios Paisios' via Chromium-reviews < chromium-reviews@chromium.org> wrote: ...
4 years, 1 month ago (2016-11-02 22:07:30 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/2469383002/1
4 years, 1 month ago (2016-11-07 08:33:36 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/175443)
4 years, 1 month ago (2016-11-07 09:44:51 UTC) #12
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/2469383002/20001
4 years, 1 month ago (2016-11-16 18:29:17 UTC) #19
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-11-16 20:49:37 UTC) #20
commit-bot: I haz the power
4 years, 1 month ago (2016-11-16 21:00:16 UTC) #22
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/cf18133784e2e5d324c09b99a6b142874e609364
Cr-Commit-Position: refs/heads/master@{#432621}

Powered by Google App Engine
This is Rietveld 408576698