Skip to content

Commit

Permalink
game_board: Add Semantics to null
Browse files Browse the repository at this point in the history
  • Loading branch information
calcitem committed Apr 24, 2024
1 parent c823fe2 commit b5da24e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/ui/flutter_app/lib/game_page/widgets/game_board.dart
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,11 @@ class _GameBoardState extends State<GameBoard>
},
child: DB().generalSettings.screenReaderSupport
? const _BoardSemantics()
: null,
: Semantics(
// TODO: Indicate how to enable accessibility.
label: S.of(context).welcome,
container: true,
),
);

GameController().animationController.forward();
Expand Down

0 comments on commit b5da24e

Please sign in to comment.