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

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

Issue 703123002: AXRoleDescriptions are not correctly exposed for dl, dd, dt tags (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebasing changes 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/browser/accessibility/browser_accessibility_win.cc » ('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 ac81de7ab39d3f8fd4e8175fd59c8d220404de75..0e651f19875153f415c7b2ff525f1645faf093df 100644
--- a/content/browser/accessibility/browser_accessibility_cocoa.mm
+++ b/content/browser/accessibility/browser_accessibility_cocoa.mm
@@ -593,6 +593,15 @@ NSDictionary* attributeToMethodNameMap = nil;
case ui::AX_ROLE_CONTENT_INFO:
return base::SysUTF16ToNSString(content_client->GetLocalizedString(
IDS_AX_ROLE_ADDRESS));
+ case ui::AX_ROLE_DESCRIPTION_LIST:
+ return base::SysUTF16ToNSString(content_client->GetLocalizedString(
+ IDS_AX_ROLE_DESCRIPTION_LIST));
+ case ui::AX_ROLE_DESCRIPTION_LIST_DETAIL:
+ return base::SysUTF16ToNSString(content_client->GetLocalizedString(
+ IDS_AX_ROLE_DESCRIPTION_DETAIL));
+ case ui::AX_ROLE_DESCRIPTION_LIST_TERM:
+ return base::SysUTF16ToNSString(content_client->GetLocalizedString(
+ IDS_AX_ROLE_DESCRIPTION_TERM));
case ui::AX_ROLE_FOOTER:
return base::SysUTF16ToNSString(content_client->GetLocalizedString(
IDS_AX_ROLE_FOOTER));
@@ -728,7 +737,7 @@ NSDictionary* attributeToMethodNameMap = nil;
}
if (browserAccessibilityRole == ui::AX_ROLE_DESCRIPTION_LIST)
- return @"AXDescriptionList";
+ return @"AXDefinitionList";
if (browserAccessibilityRole == ui::AX_ROLE_LIST)
return @"AXContentList";
« no previous file with comments | « content/app/strings/content_strings.grd ('k') | content/browser/accessibility/browser_accessibility_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698