From cb8b9d63ac0d7d4b33e7f857c02677a9bfce120e Mon Sep 17 00:00:00 2001 From: bemusementpark Date: Fri, 12 Jul 2024 00:08:42 +0930 Subject: [PATCH] SES-2249 fix contentDescriptions --- .../securesms/conversation/start/home/StartConversation.kt | 3 +++ app/src/main/res/values/strings.xml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/org/thoughtcrime/securesms/conversation/start/home/StartConversation.kt b/app/src/main/java/org/thoughtcrime/securesms/conversation/start/home/StartConversation.kt index d12e44f66f..452968429e 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/conversation/start/home/StartConversation.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/conversation/start/home/StartConversation.kt @@ -49,17 +49,20 @@ internal fun StartConversationScreen( ItemButton( textId = R.string.messageNew, icon = R.drawable.ic_message, + modifier = Modifier.contentDescription(R.string.AccessibilityId_new_direct_message), onClick = delegate::onNewMessageSelected) Divider(startIndent = LocalDimensions.current.dividerIndent) ItemButton( textId = R.string.activity_create_group_title, icon = R.drawable.ic_group, + modifier = Modifier.contentDescription(R.string.AccessibilityId_create_group), onClick = delegate::onCreateGroupSelected ) Divider(startIndent = LocalDimensions.current.dividerIndent) ItemButton( textId = R.string.dialog_join_community_title, icon = R.drawable.ic_globe, + modifier = Modifier.contentDescription(R.string.AccessibilityId_join_community), onClick = delegate::onJoinCommunitySelected ) Divider(startIndent = LocalDimensions.current.dividerIndent) diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index a0d6975547..123137ee03 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -49,7 +49,7 @@ New conversation button New direct message Create group - Join community button + Join community Community input Join community button