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

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

Issue 1595063002: Adds AX role for abbr tag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 1505d34bccb01647791962f5b67d2e6318fc4153..45b0aa42e8b648ca2239acd3bbc3172e81eef096 100644
--- a/content/browser/accessibility/browser_accessibility_win.cc
+++ b/content/browser/accessibility/browser_accessibility_win.cc
@@ -4612,6 +4612,7 @@ void BrowserAccessibilityWin::InitRoleAndState() {
ia2_state |= IA2_STATE_SINGLE_LINE;
ia2_state |= IA2_STATE_SELECTABLE_TEXT;
break;
+ case ui::AX_ROLE_ABBR:
case ui::AX_ROLE_TIME:
role_name = html_tag;
ia_role = ROLE_SYSTEM_TEXT;
« no previous file with comments | « components/test_runner/web_ax_object_proxy.cc ('k') | content/renderer/accessibility/blink_ax_enum_conversion.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698