@@ -38,7 +38,6 @@ @implementation RNSBottomTabsScreenComponentView {
3838 BOOL _tabBarItemNeedsRecreation;
3939 BOOL _tabBarItemNeedsUpdate;
4040 BOOL _scrollEdgeEffectsNeedUpdate;
41- BOOL _tabBarItemNeedsA11yUpdate;
4241#endif // !RCT_NEW_ARCH_ENABLED
4342}
4443
@@ -69,7 +68,6 @@ - (void)initState
6968 _tabBarItemNeedsRecreation = NO ;
7069 _tabBarItemNeedsUpdate = NO ;
7170 _scrollEdgeEffectsNeedUpdate = NO ;
72- _tabBarItemNeedsA11yUpdate = NO ;
7371#endif
7472
7573 // Prevents incorrect tab bar appearance after tab change on iOS 26.0
@@ -532,11 +530,6 @@ - (void)didSetProps:(NSArray<NSString *> *)changedProps
532530 _tabItemNeedsAppearanceUpdate = NO ;
533531 }
534532
535- if (_tabBarItemNeedsA11yUpdate) {
536- [_controller updateTabItemA11yProps ];
537- _tabBarItemNeedsA11yUpdate = NO ;
538- }
539-
540533 if (_tabScreenOrientationNeedsUpdate) {
541534 [_controller tabScreenOrientationHasChanged ];
542535 _tabScreenOrientationNeedsUpdate = NO ;
@@ -579,13 +572,13 @@ - (void)setBadgeValue:(NSString *)badgeValue
579572
580573- (void )setTabBarItemTestID : (NSString *)tabBarItemTestID
581574{
582- _controller. tabItemTestID = tabBarItemTestID;
575+ _tabItemTestID = tabBarItemTestID;
583576 _tabBarItemNeedsA11yUpdate = YES ;
584577}
585578
586579- (void )setTabBarItemAccessibilityLabel : (NSString *)tabBarItemAccessibilityLabel
587580{
588- _controller. tabItemAccessibilityLabel = tabBarItemAccessibilityLabel;
581+ _tabItemAccessibilityLabel = tabBarItemAccessibilityLabel;
589582 _tabBarItemNeedsA11yUpdate = YES ;
590583}
591584
@@ -684,6 +677,7 @@ - (void)setSystemItem:(RNSBottomTabsScreenSystemItem)systemItem
684677{
685678 _systemItem = systemItem;
686679 _tabBarItemNeedsRecreation = YES ;
680+ _tabBarItemNeedsA11yUpdate = YES ;
687681}
688682
689683- (void )setSpecialEffects : (NSDictionary *)specialEffects
0 commit comments