From a9c49fabcc0ad62301280a817a8232b3dd245c5e Mon Sep 17 00:00:00 2001 From: Pierre-Yves Lapersonne Date: Mon, 18 May 2026 09:07:04 -0700 Subject: [PATCH] Add unread badge count to tab accessibilityValue --- .../src/ViewControllers/HomeView/HomeTabBarController.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Signal/src/ViewControllers/HomeView/HomeTabBarController.swift b/Signal/src/ViewControllers/HomeView/HomeTabBarController.swift index 1ce9a103d9..869990a631 100644 --- a/Signal/src/ViewControllers/HomeView/HomeTabBarController.swift +++ b/Signal/src/ViewControllers/HomeView/HomeTabBarController.swift @@ -303,10 +303,14 @@ extension HomeTabBarController: BadgeObserver { if #available(iOS 18, *), UIDevice.current.isIPad { uiTab(for: .chatList).badgeValue = stringify(badgeCount.unreadChatCount) + uiTab(for: .chatList).accessibilityValue = stringify(badgeCount.unreadChatCount) uiTab(for: .calls).badgeValue = stringify(badgeCount.unreadCallsCount) + uiTab(for: .calls).accessibilityValue = stringify(badgeCount.unreadCallsCount) } else { chatListTabBarItem.badgeValue = stringify(badgeCount.unreadChatCount) + chatListTabBarItem.accessibilityValue = stringify(badgeCount.unreadChatCount) callsListTabBarItem.badgeValue = stringify(badgeCount.unreadCallsCount) + callsListTabBarItem.accessibilityValue = stringify(badgeCount.unreadCallsCount) } } }