mirror of
https://github.com/adoyle0/thaw.git
synced 2025-01-22 14:09:21 -05:00
OverlayDrawer: only set aria-modal to true when modal (#275)
Some checks failed
Deploy demo / deploy (push) Has been cancelled
Some checks failed
Deploy demo / deploy (push) Has been cancelled
This commit is contained in:
parent
f9d0fdc2ab
commit
50bd30de1d
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ pub fn OverlayDrawer(
|
||||||
}
|
}
|
||||||
node_ref=drawer_ref
|
node_ref=drawer_ref
|
||||||
role="dialog"
|
role="dialog"
|
||||||
aria-modal="true"
|
aria-modal={if modal_type == DrawerModalType::Modal {"true"} else {"false"}}
|
||||||
>
|
>
|
||||||
{children()}
|
{children()}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Reference in a new issue