diff --git a/packages/ui/modal/src/use-modal.ts b/packages/ui/modal/src/use-modal.ts index af9053eab..bbdfd3eea 100644 --- a/packages/ui/modal/src/use-modal.ts +++ b/packages/ui/modal/src/use-modal.ts @@ -161,6 +161,7 @@ export const useModal = ({ if (Object.prototype.hasOwnProperty.call(props, 'zIndex')) { style.zIndex = props.zIndex } + return { role: 'dialog', 'aria-modal': true,