davidtheclark / react-aria-modal

A fully accessible React modal built according WAI-ARIA Authoring Practices
http://davidtheclark.github.io/react-aria-modal/demo/
MIT License
1.03k stars 96 forks source link

TalkBack: Going to content behind modal #102

Open blakejoy opened 4 years ago

blakejoy commented 4 years ago

Anyone else have an issue with talkback allowing users to swipe to the content behind the modal?

crutchcorn commented 4 years ago

We're seeing the same issue on a project I'm working on. This isn't just an issue with TalkBack - we're seeing the same behavior with Voiceover on iOS and MacOS.

crutchcorn commented 4 years ago

A link to a minimal recreation:

https://stackblitz.com/edit/react-aria-modal-test

Just use the MacOS' move A11Y focus up button (Ctrl + Option + Left arrow)

crutchcorn commented 4 years ago

The solution, I've found, is to use getApplicationNode in order to aria-hide the background