From 746d4fe828f46d4134675305efc20c64dc9bb559 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BAlia=20Jaeger=20Foresti?= <60678893+juliajforesti@users.noreply.github.com> Date: Wed, 6 Nov 2024 17:06:06 -0300 Subject: [PATCH] chore: improve unread badges a11y (#33899) --- .../client/sidebarv2/RoomList/SidebarItemTemplateWithData.tsx | 2 +- apps/meteor/client/views/room/Sidepanel/hooks/useItemData.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/meteor/client/sidebarv2/RoomList/SidebarItemTemplateWithData.tsx b/apps/meteor/client/sidebarv2/RoomList/SidebarItemTemplateWithData.tsx index ed54f2bb3719..024615153d36 100644 --- a/apps/meteor/client/sidebarv2/RoomList/SidebarItemTemplateWithData.tsx +++ b/apps/meteor/client/sidebarv2/RoomList/SidebarItemTemplateWithData.tsx @@ -123,7 +123,7 @@ const SidebarItemTemplateWithData = ({ const badges = ( <> {showUnread && ( - + {unreadCount.total} )} diff --git a/apps/meteor/client/views/room/Sidepanel/hooks/useItemData.tsx b/apps/meteor/client/views/room/Sidepanel/hooks/useItemData.tsx index e871271bceea..89aa1887c938 100644 --- a/apps/meteor/client/views/room/Sidepanel/hooks/useItemData.tsx +++ b/apps/meteor/client/views/room/Sidepanel/hooks/useItemData.tsx @@ -29,7 +29,7 @@ export const useItemData = ( () => ( <> {showUnread && ( - + {unreadCount.total} )}