further improved accessibility across the application and add tooltips to action buttons
This commit is contained in:
@@ -91,7 +91,14 @@ class _ChatTileState extends State<ChatTile> {
|
||||
: null,
|
||||
leading: Stack(
|
||||
children: [
|
||||
circleAvatar,
|
||||
// Der Name steht bereits im Titel der Zeile – das Avatarbild selbst
|
||||
// muss der Screenreader nicht ansagen. Nur bei Gruppen ist der
|
||||
// Hinweis „Gruppe" nützlich (sonst nicht vom Einzelchat zu
|
||||
// unterscheiden).
|
||||
Semantics(
|
||||
label: isGroup ? A11yLabels.group : null,
|
||||
child: ExcludeSemantics(child: circleAvatar),
|
||||
),
|
||||
Visibility(
|
||||
visible: widget.data.isFavorite,
|
||||
child: Positioned(
|
||||
|
||||
Reference in New Issue
Block a user