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

Unified Diff: content/browser/accessibility/browser_accessibility_cocoa.mm

Issue 722663002: HTML math tag should have AXRoleDescription as 'math' (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 | « content/app/strings/content_strings.grd ('k') | content/test/data/accessibility/math-expected-android.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/accessibility/browser_accessibility_cocoa.mm
diff --git a/content/browser/accessibility/browser_accessibility_cocoa.mm b/content/browser/accessibility/browser_accessibility_cocoa.mm
index c2a8b8e859006b20aa47bcc4ba6f057287c7cb43..468d2ec421c29c12d465a23fcab1745bf07f4aa0 100644
--- a/content/browser/accessibility/browser_accessibility_cocoa.mm
+++ b/content/browser/accessibility/browser_accessibility_cocoa.mm
@@ -614,6 +614,9 @@ NSDictionary* attributeToMethodNameMap = nil;
case ui::AX_ROLE_MAIN:
return base::SysUTF16ToNSString(content_client->GetLocalizedString(
IDS_AX_ROLE_MAIN_CONTENT));
+ case ui::AX_ROLE_MATH:
+ return base::SysUTF16ToNSString(content_client->GetLocalizedString(
+ IDS_AX_ROLE_MATH));
case ui::AX_ROLE_NAVIGATION:
return base::SysUTF16ToNSString(content_client->GetLocalizedString(
IDS_AX_ROLE_NAVIGATIONAL_LINK));
« no previous file with comments | « content/app/strings/content_strings.grd ('k') | content/test/data/accessibility/math-expected-android.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698