Add accessibility hints for the send state in the room list. (#4804)

This commit is contained in:
Doug
2025-12-01 13:28:48 +00:00
committed by GitHub
parent 656648fc7c
commit 3b42a784c8
@@ -89,9 +89,11 @@ struct HomeScreenRoomCell: View {
case .sending:
CompoundIcon(\.time, size: .xSmall, relativeTo: .compound.bodyLGSemibold)
.foregroundStyle(.compound.iconTertiary)
.accessibilityLabel(L10n.commonSending)
case .failed:
CompoundIcon(\.errorSolid, size: .xSmall, relativeTo: .compound.bodyLGSemibold)
.foregroundStyle(.compound.iconCriticalPrimary)
.accessibilityHidden(true) // The last message contains the error.
case .none:
EmptyView()
}