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

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

Issue 670493002: <address> elements should have AXRoleDescription of 'address' (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing changes Created 6 years, 2 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 | « content/app/strings/content_strings.grd ('k') | content/test/data/accessibility/address-expected-mac.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 1172e34903dcb0e116c6db7206c6a0fe6b3caced..24dbed77c9c566394a871639e6bc1b521263f63c 100644
--- a/content/browser/accessibility/browser_accessibility_cocoa.mm
+++ b/content/browser/accessibility/browser_accessibility_cocoa.mm
@@ -578,7 +578,9 @@ NSDictionary* attributeToMethodNameMap = nil;
case ui::AX_ROLE_BANNER:
return base::SysUTF16ToNSString(content_client->GetLocalizedString(
IDS_AX_ROLE_BANNER));
- break;
+ case ui::AX_ROLE_CONTENT_INFO:
+ return base::SysUTF16ToNSString(content_client->GetLocalizedString(
+ IDS_AX_ROLE_ADDRESS));
case ui::AX_ROLE_FOOTER:
return base::SysUTF16ToNSString(content_client->GetLocalizedString(
IDS_AX_ROLE_FOOTER));
« no previous file with comments | « content/app/strings/content_strings.grd ('k') | content/test/data/accessibility/address-expected-mac.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698