We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e857bd7 commit 3c68dd8Copy full SHA for 3c68dd8
libraries/matrixui/src/main/kotlin/io/element/android/libraries/matrix/ui/components/SelectedRoom.kt
@@ -61,11 +61,14 @@ fun SelectedRoom(
61
modifier: Modifier = Modifier,
62
) {
63
val actionRemove = stringResource(id = CommonStrings.action_remove)
64
+ val a11yRoomName = stringResource(id = CommonStrings.common_room_name)
65
Box(
66
modifier = modifier
67
.width(AvatarSize.SelectedRoom.dp)
68
.clearAndSetSemantics {
- contentDescription = roomInfo.name ?: "#"
69
+ contentDescription = roomInfo.name
70
+ ?: roomInfo.canonicalAlias?.value
71
+ ?: a11yRoomName
72
// Note: this does not set the click effect to the whole Box
73
// when talkback is not enabled
74
onClick(
0 commit comments