MDCActivityIndicator shouldnt register as accessibility element when hidden
MODIFY
components/ActivityIndicator/src/MDCActivityIndicator.m
components/ActivityIndicator/src/MDCActivityIndicator.m
@@ -970,7 +970,7 @@ static const CGFloat kSingleCycleRotation =
#pragma mark - Accessibility
- (BOOL)isAccessibilityElement {
- return YES;
+ return self.isAnimating;
}
- (NSString *)accessibilityLabel {

MDCActivityIndicator shouldnt register as accessibility element when hidden (#3331)

#3233
https://www.pivotaltracker.com/story/show/156738102