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

Unified Diff: chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js

Issue 2867073003: Name calculation should not include nameFrom:author descendants. (Closed)
Patch Set: Rebase Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js
diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js b/chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js
index aa5da8aabb79ceb8873d6eb8ea6f0c8d4d932053..2f37148e546341894de9e297c0b66e29040bb99c 100644
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js
@@ -449,7 +449,7 @@ Output.RULES = {
dialog: {
enter: '$nameFromNode $role $description'
},
- div: {
+ genericContainer: {
enter: '$nameFromNode',
speak: '$nameOrTextContent $description'
},
@@ -501,7 +501,8 @@ Output.RULES = {
'$description $state'
},
listItem: {
- enter: '$role'
+ enter: '$name= $role $state $description',
+ speak: '$nameOrDescendants $earcon(LIST_ITEM) $role $state $description'
},
menu: {
enter: '$name $role',

Powered by Google App Engine
This is Rietveld 408576698