diff --git a/lib/widgets/responsive_dialog.dart b/lib/widgets/responsive_dialog.dart index dd500f15e..5a02059a8 100755 --- a/lib/widgets/responsive_dialog.dart +++ b/lib/widgets/responsive_dialog.dart @@ -53,14 +53,17 @@ class _ResponsiveDialogState extends State { appBar: AppBar( title: widget.title, actions: widget.actions, - leading: IconButton( - icon: const Icon(Icons.close), - onPressed: widget.allowCancel - ? () { - widget.onCancel?.call(); - Navigator.of(context).pop(); - } - : null), + leading: Semantics( + label: AppLocalizations.of(context)!.s_close, + child: IconButton( + icon: const Icon(Icons.close), + onPressed: widget.allowCancel + ? () { + widget.onCancel?.call(); + Navigator.of(context).pop(); + } + : null), + ), ), body: SingleChildScrollView( child: