Merge pull request #5869 from element-hq/feature/bma/roomPreviewA11y
Add accessibility to the "sending" picto.
This commit is contained in:
commit
d044c0b032
1 changed files with 2 additions and 1 deletions
|
|
@ -243,7 +243,7 @@ private fun NameAndTimestampRow(
|
||||||
Icon(
|
Icon(
|
||||||
modifier = Modifier.size(16.dp),
|
modifier = Modifier.size(16.dp),
|
||||||
imageVector = CompoundIcons.Time(),
|
imageVector = CompoundIcons.Time(),
|
||||||
contentDescription = null,
|
contentDescription = stringResource(CommonStrings.common_sending),
|
||||||
tint = ElementTheme.colors.iconTertiary,
|
tint = ElementTheme.colors.iconTertiary,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
@ -252,6 +252,7 @@ private fun NameAndTimestampRow(
|
||||||
Icon(
|
Icon(
|
||||||
modifier = Modifier.size(16.dp),
|
modifier = Modifier.size(16.dp),
|
||||||
imageVector = CompoundIcons.ErrorSolid(),
|
imageVector = CompoundIcons.ErrorSolid(),
|
||||||
|
// The last message contains the error.
|
||||||
contentDescription = null,
|
contentDescription = null,
|
||||||
tint = ElementTheme.colors.iconCriticalPrimary,
|
tint = ElementTheme.colors.iconCriticalPrimary,
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue