We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7a70ce commit 4b4b0f3Copy full SHA for 4b4b0f3
components/BottomNavigation/src/private/MDCBottomNavigationItemView.m
@@ -168,6 +168,10 @@ - (void)commonMDCBottomNavigationItemViewInit {
168
_button.autoresizingMask = (UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight);
169
_button.accessibilityLabel = [self accessibilityLabelWithTitle:_title];
170
_button.accessibilityValue = self.accessibilityValue;
171
+ // This needs to be set specifically for VoiceOver to work on iOS 14, see b/175421576
172
+ if (@available(iOS 14, *)) {
173
+ _button.accessibilityTraits |= UIAccessibilityTraitButton;
174
+ }
175
[self addSubview:_button];
176
}
177
0 commit comments