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

Unified Diff: content/browser/accessibility/browser_accessibility_win.cc

Issue 2713193003: Added a quick heuristic to determine which objects are the target of in-page links and stop ignorin… (Closed)
Patch Set: Fixed Android test. Created 3 years, 9 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: content/browser/accessibility/browser_accessibility_win.cc
diff --git a/content/browser/accessibility/browser_accessibility_win.cc b/content/browser/accessibility/browser_accessibility_win.cc
index 01b5e28fd78e4782c85ca438de5f67de756504b0..b364f2c2ab511379816a101484a8da218fc2d71a 100644
--- a/content/browser/accessibility/browser_accessibility_win.cc
+++ b/content/browser/accessibility/browser_accessibility_win.cc
@@ -5338,6 +5338,9 @@ void BrowserAccessibilityWin::InitRoleAndState() {
case ui::AX_ROLE_ALERT_DIALOG:
ia_role = ROLE_SYSTEM_DIALOG;
break;
+ case ui::AX_ROLE_ANCHOR:
David Tseng 2017/04/03 17:20:18 Note that ChromeVox needs something like this in c
+ ia_role = ROLE_SYSTEM_LINK;
+ break;
case ui::AX_ROLE_APPLICATION:
ia_role = ROLE_SYSTEM_APPLICATION;
break;

Powered by Google App Engine
This is Rietveld 408576698