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

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

Issue 2917123002: Support role description in automation/ChromeVox (Closed)
Patch Set: Rebase. Created 3 years, 6 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
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/chromevox/cvox2/background/earcon_engine.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_predicate.js
diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_predicate.js b/chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_predicate.js
index 717e78e7845308509d90b65b5791e526ed18be2c..866cd0e4d6a39001f4f2a24b0fb23b5eeef8fc99 100644
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_predicate.js
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_predicate.js
@@ -278,7 +278,7 @@ AutomationPredicate.linebreak = function(first, second) {
AutomationPredicate.container = function(node) {
return AutomationPredicate.match({
anyRole: [
- Role.DIV,
+ Role.GENERIC_CONTAINER,
Role.DOCUMENT,
Role.GROUP,
Role.LIST_ITEM,
@@ -372,7 +372,7 @@ AutomationPredicate.shouldIgnoreNode = function(node) {
return AutomationPredicate.leaf(node) &&
(AutomationPredicate.roles([Role.CLIENT,
Role.COLUMN,
- Role.DIV,
+ Role.GENERIC_CONTAINER,
Role.GROUP,
Role.IMAGE,
Role.STATIC_TEXT,
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/chromevox/cvox2/background/earcon_engine.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698