further improved accessibility across the application and add tooltips to action buttons
This commit is contained in:
1 parent
478f0ff20b
commit
e8c6ac1c65
13 files changed
+366
-268
No files matched your search
@@ -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