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

Unified Diff: chrome/browser/chromeos/arc/accessibility/ax_tree_source_arc.cc

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
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/arc/accessibility/ax_tree_source_arc.cc
diff --git a/chrome/browser/chromeos/arc/accessibility/ax_tree_source_arc.cc b/chrome/browser/chromeos/arc/accessibility/ax_tree_source_arc.cc
index 83902e2143440414e08905ef049128757e5f2939..bd69baf4d4a8853c389ae6e41e323d1c4a4ee855 100644
--- a/chrome/browser/chromeos/arc/accessibility/ax_tree_source_arc.cc
+++ b/chrome/browser/chromeos/arc/accessibility/ax_tree_source_arc.cc
@@ -155,7 +155,7 @@ void PopulateAXRole(arc::mojom::AccessibilityNodeInfoData* node,
MAP_ROLE(ui::kAXSwitchClassname, ui::AX_ROLE_SWITCH);
MAP_ROLE(ui::kAXTabWidgetClassname, ui::AX_ROLE_TAB_LIST);
MAP_ROLE(ui::kAXToggleButtonClassname, ui::AX_ROLE_TOGGLE_BUTTON);
- MAP_ROLE(ui::kAXViewClassname, ui::AX_ROLE_DIV);
+ MAP_ROLE(ui::kAXViewClassname, ui::AX_ROLE_GENERIC_CONTAINER);
MAP_ROLE(ui::kAXViewGroupClassname, ui::AX_ROLE_GROUP);
MAP_ROLE(ui::kAXWebViewClassname, ui::AX_ROLE_WEB_VIEW);
@@ -166,7 +166,7 @@ void PopulateAXRole(arc::mojom::AccessibilityNodeInfoData* node,
if (!text.empty())
out_data->role = ui::AX_ROLE_STATIC_TEXT;
else
- out_data->role = ui::AX_ROLE_DIV;
+ out_data->role = ui::AX_ROLE_GENERIC_CONTAINER;
}
void PopulateAXState(arc::mojom::AccessibilityNodeInfoData* node,
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698