Skip to content

[Bug]: [v5] When Talkback is enabled and a modal is displayed, the items below the modal sheet are still accessible by tap and the sheet is not focused #2110

Open
@hraschan

Description

@hraschan

Version

v5

Reanimated Version

v3

Gesture Handler Version

v2

Platforms

Android

What happened?

  1. When Talkback is enabled Modal is not focused when presented
  2. Elements below the Modal are accessible.
  3. When dismissing modal, elements are no longer accessible/focusable (no green marker around them and no announcements)

There was already an issue in v4 #1641 but this issue still persists.

In general the accessibility behavior is questionable. Why is the backdrop accessible? Why is each element accessible. Handle, Container, Background. Content elements are not accessible seperatly.

Reproduction steps

  1. When Talkback is enabled Modal is not focused when presented
  2. Elements below the Modal are accessible
  3. When dismissing modal, elements are no longer accessible/focusable (no green marker around them and no announcements)

Describe what you expected to happen:

  1. When Talkback is enabled, if user opens Modal, it should get focus automatically
  2. Elements below the Modal should not be accessible by default (some prop needed maybe)
  3. After dismissing Modal, elements that were below it should be accessible/focusable again

Reproduction sample

https://snack.expo.dev/@gorhom/bottom-sheet---issue-reproduction-template

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions