add semanticsLabel to code widget

This commit is contained in:
Adam Velebil 2023-09-01 13:19:16 +02:00
parent 344f6bfd89
commit 0a79dda34e
No known key found for this signature in database
GPG Key ID: C9B1E4A3CBBD2E10

View File

@ -171,6 +171,7 @@ class _CodeLabel extends StatelessWidget {
// This helps with vertical centering on desktop
applyHeightToFirstAscent: !isDesktop,
),
semanticsLabel: code?.value.characters.map((c) => '$c ' ).toString(),
),
);
}