Skip to content

Commit d276db8

Browse files
author
Ignacio Romero Zurbuchen
authored
Merge pull request slackhq#489 from ksmarshall/fix-voiceover-placeholder
Prevent the placeholder label from getting voice over focus
2 parents 3e75b46 + 0777751 commit d276db8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Source/SLKTextView.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ - (UILabel *)placeholderLabel
143143
_placeholderLabel.backgroundColor = [UIColor clearColor];
144144
_placeholderLabel.textColor = [UIColor lightGrayColor];
145145
_placeholderLabel.hidden = YES;
146+
_placeholderLabel.isAccessibilityElement = NO;
146147

147148
[self addSubview:_placeholderLabel];
148149
}

0 commit comments

Comments
 (0)