mirror of
https://github.com/Dr-Blank/Vaani.git
synced 2026-04-15 18:59:36 +00:00
fix(accessibility): label icon controls and semantic tap targets
This commit is contained in:
parent
e30e84ded1
commit
b552e9843c
15 changed files with 118 additions and 66 deletions
|
|
@ -64,6 +64,7 @@ class PlayerWhenExpanded extends HookConsumerWidget {
|
|||
IconButton(
|
||||
iconSize: 30,
|
||||
icon: const Icon(Icons.keyboard_arrow_down),
|
||||
tooltip: 'Minimize player',
|
||||
onPressed: () {
|
||||
// minimize the player
|
||||
audioBookMiniplayerController.animateToHeight(
|
||||
|
|
@ -75,6 +76,7 @@ class PlayerWhenExpanded extends HookConsumerWidget {
|
|||
// the cast button
|
||||
IconButton(
|
||||
icon: const Icon(Icons.cast),
|
||||
tooltip: 'Cast',
|
||||
onPressed: () {
|
||||
showNotImplementedToast(context);
|
||||
},
|
||||
|
|
@ -108,14 +110,11 @@ class PlayerWhenExpanded extends HookConsumerWidget {
|
|||
),
|
||||
child: SizedBox(
|
||||
height: imageSize,
|
||||
child: InkWell(
|
||||
onTap: () {},
|
||||
child: ClipRRect(
|
||||
borderRadius: BorderRadius.circular(
|
||||
AppElementSizes.borderRadiusRegular * earlyPercentage,
|
||||
),
|
||||
child: img,
|
||||
child: ClipRRect(
|
||||
borderRadius: BorderRadius.circular(
|
||||
AppElementSizes.borderRadiusRegular * earlyPercentage,
|
||||
),
|
||||
child: img,
|
||||
),
|
||||
),
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue