Skip to content

Commit 7fc2ae0

Browse files
fix(a11y): Set content description to null since image is purely decorative (for the text below it)
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
1 parent f27698c commit 7fc2ae0

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

app/src/main/java/com/nextcloud/client/assistant/AssistantScreen.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -397,9 +397,8 @@ private fun EmptyContent(paddingValues: PaddingValues, iconId: Int?, description
397397
painter = painterResource(id = iconId),
398398
modifier = Modifier.size(32.dp),
399399
colorFilter = ColorFilter.tint(color = colorResource(R.color.text_color)),
400-
contentDescription = "empty content icon"
400+
contentDescription = null
401401
)
402-
403402
Spacer(modifier = Modifier.height(8.dp))
404403
}
405404

0 commit comments

Comments
 (0)