Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 367 Bytes

set_app_element.md

File metadata and controls

7 lines (4 loc) · 367 Bytes

Using setAppElement

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.

setAppElement example