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

Issue 2390763002: Don't output earcons when constructing output from descendants (Closed)

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

Description

Don't output earcons when constructing output from descendants Descendant output is fairly noisy (e.g. in Google Groups). By omitting earcons, we make it clear the output is one big utterance and also get rid of a lot of output. For groups specifically, there are lots of editable text areas and divs marked up as focusable, so we end up getting some amount of repeated output. The earcons being played sound like an error tone because they're being played at the same time. BUG=619279 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -11 lines) Patch
M chrome/browser/resources/chromeos/chromevox/cvox2/background/desktop_automation_handler.js View 2 chunks +10 lines, -1 line 0 comments Download
M chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js View 11 chunks +27 lines, -10 lines 0 comments Download

Messages

Total messages: 6 (3 generated)
David Tseng
4 years, 2 months ago (2016-10-03 16:50:45 UTC) #4
dmazzoni
lgtm All of this sounds good except that I think it's really hacky to use ...
4 years, 2 months ago (2016-10-03 18:27:45 UTC) #5
David Tseng
4 years, 2 months ago (2016-10-03 22:06:49 UTC) #6
On 2016/10/03 18:27:45, dmazzoni wrote:
> lgtm
> 
> All of this sounds good except that I think it's
> really hacky to use descendantsNoEarcons for div
> and not for any other role.

div has no semantics though and this his how classic behaved (which worked
pretty well).

> 
> What about paragraph, region, rowHeader,
> tableHeaderContainer? Perhaps those should
> all be descendantsNoEarcons.
> 
> I think dialog and alertdialog are probably
> better with earcons, what do you think?
> 
> At a minimum, I insist that paragraph and
> div should have the same behavior, I think
> it'd be really confusing if not.
> 

div only appears in very special cases. Only when a div is focusable do we use
this output rule. This amounts to very ajax heavy sites that have tried hard to
implement keyboard support.

> Also, what should $nameOrDescendants do?
> I suspect anything with $nameOrDescendants
> should probably be without earcons too...

Powered by Google App Engine
This is Rietveld 408576698