Skip to content
This repository was archived by the owner on Nov 19, 2019. It is now read-only.

Commit 820e2dc

Browse files
committed
Add accessibility description of the add tab button
1 parent 6a0b433 commit 820e2dc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Source/PSMTabBarControl.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@ - (void)initAddedProperties {
247247
[_addTabButton setButtonType:NSMomentaryChangeButton];
248248
[_addTabButton setBordered:NO];
249249
[_addTabButton setBezelStyle:NSShadowlessSquareBezelStyle];
250+
[[_addTabButton cell] accessibilitySetOverrideValue:NSLocalizedString(@"Add Tab", nil) forAttribute:NSAccessibilityDescriptionAttribute];
250251
[self addSubview:_addTabButton];
251252

252253
if(_showAddTabButton) {

0 commit comments

Comments
 (0)