summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/cocoa/toolbar_view.mm11
1 files changed, 11 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/toolbar_view.mm b/chrome/browser/cocoa/toolbar_view.mm
index d8ce333..c8fe807 100644
--- a/chrome/browser/cocoa/toolbar_view.mm
+++ b/chrome/browser/cocoa/toolbar_view.mm
@@ -26,4 +26,15 @@
return [[super strokeColor] colorWithAlphaComponent:[self dividerOpacity]];
}
+- (BOOL)accessibilityIsIgnored {
+ return NO;
+}
+
+- (id)accessibilityAttributeValue:(NSString*)attribute {
+ if ([attribute isEqual:NSAccessibilityRoleAttribute])
+ return NSAccessibilityToolbarRole;
+
+ return [super accessibilityAttributeValue:attribute];
+}
+
@end