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

Issue 2331163002: Refine output of containers when focused (Closed)

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

Description

Refine output of containers when focused some containers, such as rows in Gmail's thread view, get focused. Ensure we speak the accessible name, but don't try to speak descendants. We only speak descendants for region and group roles. Any other role in ptractice leads to a lot of queued up output; for example, press escape while in Sheets. This results in a focus event on an application node containing almost all the content of the page. Finally, fix the leave rule so that it also ignores formatting a leave rule for a role that was part of the speak rule. This prevents things like "... row, exited row" when moving from row to row in Gmail's thread view. TEST=manual; chromevox_tests --gtest_filter=Output*.* BUG= CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/4eb367312c79163feb1ffb8901c6f1f236d1ee90 Cr-Commit-Position: refs/heads/master@{#419545}

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Fix code to match test expectations; remove most descendant output. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -2 lines) Patch
M chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js View 1 2 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/cvox2/background/output_test.extjs View 1 chunk +13 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (17 generated)
David Tseng
4 years, 3 months ago (2016-09-12 20:39:01 UTC) #3
dmazzoni
lgtm
4 years, 3 months ago (2016-09-15 16:42:05 UTC) #4
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/2331163002/1
4 years, 3 months ago (2016-09-15 21:20:42 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/260542)
4 years, 3 months ago (2016-09-15 21:33:38 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/2331163002/20001
4 years, 3 months ago (2016-09-19 17:45:53 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/237829)
4 years, 3 months ago (2016-09-19 18:45:12 UTC) #17
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/2331163002/40001
4 years, 3 months ago (2016-09-19 20:04:47 UTC) #22
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 3 months ago (2016-09-19 21:06:32 UTC) #24
commit-bot: I haz the power
4 years, 3 months ago (2016-09-19 21:08:39 UTC) #26
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/4eb367312c79163feb1ffb8901c6f1f236d1ee90
Cr-Commit-Position: refs/heads/master@{#419545}

Powered by Google App Engine
This is Rietveld 408576698