mirror of
https://github.com/Dr-Blank/Vaani.git
synced 2026-04-17 11:49:38 +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
|
|
@ -235,6 +235,7 @@ class RestoreDialogue extends HookConsumerWidget {
|
|||
hintText: 'Paste the backup here',
|
||||
// clear button
|
||||
suffixIcon: IconButton(
|
||||
tooltip: 'Clear backup',
|
||||
icon: Icon(Icons.clear),
|
||||
onPressed: () {
|
||||
settingsInputController.clear();
|
||||
|
|
|
|||
|
|
@ -350,6 +350,7 @@ class NotificationTitlePicker extends HookConsumerWidget {
|
|||
decoration: InputDecoration(
|
||||
helper: const Text('Select a field below to insert it'),
|
||||
suffix: IconButton(
|
||||
tooltip: 'Clear title',
|
||||
icon: const Icon(Icons.clear),
|
||||
onPressed: () {
|
||||
controller.clear();
|
||||
|
|
|
|||
|
|
@ -283,6 +283,7 @@ class ShakeForceSelector extends HookConsumerWidget {
|
|||
decoration: InputDecoration(
|
||||
// clear button
|
||||
suffix: IconButton(
|
||||
tooltip: 'Clear threshold',
|
||||
icon: const Icon(Icons.clear),
|
||||
onPressed: () {
|
||||
controller.clear();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue