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

Added screen reader support, if backdropEnabled is true. #170

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nilsreichardt
Copy link

@nilsreichardt nilsreichardt commented Jul 21, 2020

Description

As I showed in #168 backdropEnabled == true breaks the app for screen readers. This is very critical...

What was the problem?

The problem was, that GestureDetector already have a Semantics widget included. The backdrop takes up all the space. Because of this a screen reader tried every time to read the backdrop instead of the real content of the app.

Solution

The solution is to use ExcludeSemantics, which ignores all Semantics in the widget tree.

Try it out

Until this PR isn't merged, you can use this in your pubspec.yaml:

sliding_up_panel: 
   git: 
     url: https://github.com/AndroidNils/sliding_up_panel 
     ref: screen-reader-support

Closes #168

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 this pull request may close these issues.

No accessibility support (Talkback), if backdropEnabled is true
1 participant