This example shows how to use setAppElement to properly hide your application from screenreaders and other assistive technologies while the modal is open.
You'll notice in this example that the aria-hidden attribute is applied to the #root div rather than the document body.