Skip to content

Commit

Permalink
[104] Fixed category menu button semantics. (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsonmh committed Aug 22, 2018
1 parent d97a2a3 commit c4b7875
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions mdc_100_series/lib/backdrop.dart
Expand Up @@ -115,7 +115,10 @@ class _BackdropTitle extends AnimatedWidget {
begin: Offset.zero,
end: Offset(0.5, 0.0),
).evaluate(animation),
child: backTitle,
child: Semantics(
label: 'hide categories menu',
child: ExcludeSemantics(child: backTitle)
),
),
),
Opacity(
Expand All @@ -128,7 +131,10 @@ class _BackdropTitle extends AnimatedWidget {
begin: Offset(-0.25, 0.0),
end: Offset.zero,
).evaluate(animation),
child: frontTitle,
child: Semantics(
label: 'show categories menu',
child: ExcludeSemantics(child: frontTitle)
),
),
),
],
Expand Down

0 comments on commit c4b7875

Please sign in to comment.