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

Unified Diff: chrome/browser/ui/cocoa/bookmarks/bookmark_button_cell.mm

Issue 2288763002: a11y: add a11y title for bookmark chevron / "off the side button" (Closed)
Patch Set: Created 4 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/bookmarks/bookmark_button_cell.mm
diff --git a/chrome/browser/ui/cocoa/bookmarks/bookmark_button_cell.mm b/chrome/browser/ui/cocoa/bookmarks/bookmark_button_cell.mm
index 51750aee4547586cafd743b3ef439a5a06348416..9c1dd58e4a23f19d72e143276491ca723b9e41d1 100644
--- a/chrome/browser/ui/cocoa/bookmarks/bookmark_button_cell.mm
+++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_button_cell.mm
@@ -40,6 +40,9 @@ const int kDefaultFontSize = 12;
}; // namespace
@interface OffTheSideButtonCell : BookmarkButtonCell
+
+- (NSString*)accessibilityTitle;
+
@end
@implementation OffTheSideButtonCell
@@ -47,6 +50,10 @@ const int kDefaultFontSize = 12;
return YES;
}
+- (NSString*)accessibilityTitle {
+ return l10n_util::GetNSString(IDS_ACCNAME_BOOKMARKS_CHEVRON);
+}
+
@end
@interface BookmarkButtonCell(Private)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698