Merge text from all changes to the same live region into one utterance.
commit07528460dfe5e3420e6b61871340658b0ee7223c
authordmazzoni <dmazzoni@chromium.org>
Mon, 22 Sep 2014 22:21:33 +0000 (22 15:21 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 22 Sep 2014 22:22:05 +0000 (22 22:22 +0000)
tree0d5e07994b4fe44436ba78f365247ac58a107f32
parentd64a4dd2d96d7d1246a12017273e69be5b70d3b8
Merge text from all changes to the same live region into one utterance.

The problem was that if there were two objects that both changed in the
same live region, like 'apple' and 'orange', they should really be
spoken in sequence, but there was no way to enforce that - another
utterance can be inserted in-between them. Until we have a way to enforce it,
combining the text is a better user experience.

To match other screen readers, read text and control values, but not
roles and states.

BUG=408821

Review URL: https://codereview.chromium.org/522433002

Cr-Commit-Position: refs/heads/master@{#296070}
chrome/browser/resources/chromeos/chromevox/chromevox/injected/live_regions.js
chrome/browser/resources/chromeos/chromevox/chromevox/injected/live_regions_test.unitjs