fix(accessibility): label icon controls and semantic tap targets

This commit is contained in:
Storm Dragon 2026-02-27 15:41:57 -05:00
parent e30e84ded1
commit b552e9843c
15 changed files with 118 additions and 66 deletions

View file

@ -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();

View file

@ -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();

View file

@ -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();