diff --git a/thaw/src/drawer/overlay_drawer.rs b/thaw/src/drawer/overlay_drawer.rs index 2ca6f38..85c1b5c 100644 --- a/thaw/src/drawer/overlay_drawer.rs +++ b/thaw/src/drawer/overlay_drawer.rs @@ -113,7 +113,7 @@ pub fn OverlayDrawer( } node_ref=drawer_ref role="dialog" - aria-modal="true" + aria-modal={if modal_type == DrawerModalType::Modal {"true"} else {"false"}} > {children()}