Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No accessibility support (Talkback), if backdropEnabled is true #168

Open
nilsreichardt opened this issue Jul 18, 2020 · 0 comments · May be fixed by #170
Open

No accessibility support (Talkback), if backdropEnabled is true #168

nilsreichardt opened this issue Jul 18, 2020 · 0 comments · May be fixed by #170

Comments

@nilsreichardt
Copy link

Description

If backdropEnabled is true, all widgets behind the SlidingUpPanel can't be detected by a screen reader anymore. This is very cricitle, because the whole app (except the SlidingUpPanel widget) can't be used with a screen reader. With this bug it's nearly impossible to get featured by Apple...

Demo

backdropEnabled is true (no accessibility support ❌ )

talkbackVideo

backdropEnabled is false (accessibility support ✅ )

TalkbackWorking

Steps to reproduce

Code to reproduce
import 'package:flutter/material.dart';
import 'package:sliding_up_panel/sliding_up_panel.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Demo',
      home: Scaffold(
        appBar: AppBar(
          title: Text("SlidingUpPanelExample"),
        ),
        body: SlidingUpPanel(
          backdropEnabled: true, // <-- This is the problem
          panel: Center(
            child: Text("This is the sliding Widget"),
          ),
          body: Center(
            child: Text("This Text can't be read by screen readers :("),
          ),
        ),
      ),
    );
  }
}

  1. Copy code to reproduce
  2. Run app
  3. Enable a screen reader (like Talkback on Android)
  4. Try to focus Text("This is the sliding Widget") with a screen reader --> impossible
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant