From eff79d0b8879b1a5977927f024b0f55cc5071dc8 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Mon, 8 Dec 2025 15:28:38 +0100 Subject: [PATCH] Add accessibility to the "sending" picto. --- .../android/features/home/impl/components/RoomSummaryRow.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/features/home/impl/src/main/kotlin/io/element/android/features/home/impl/components/RoomSummaryRow.kt b/features/home/impl/src/main/kotlin/io/element/android/features/home/impl/components/RoomSummaryRow.kt index da0f47ba05..b722c63622 100644 --- a/features/home/impl/src/main/kotlin/io/element/android/features/home/impl/components/RoomSummaryRow.kt +++ b/features/home/impl/src/main/kotlin/io/element/android/features/home/impl/components/RoomSummaryRow.kt @@ -243,7 +243,7 @@ private fun NameAndTimestampRow( Icon( modifier = Modifier.size(16.dp), imageVector = CompoundIcons.Time(), - contentDescription = null, + contentDescription = stringResource(CommonStrings.common_sending), tint = ElementTheme.colors.iconTertiary, ) } @@ -252,6 +252,7 @@ private fun NameAndTimestampRow( Icon( modifier = Modifier.size(16.dp), imageVector = CompoundIcons.ErrorSolid(), + // The last message contains the error. contentDescription = null, tint = ElementTheme.colors.iconCriticalPrimary, )