Skip to content

Commit

Permalink
feat: add dialog role in overlayBox
Browse files Browse the repository at this point in the history
  • Loading branch information
mia committed Feb 27, 2024
1 parent 001983f commit 10580a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vibrant-core/src/lib/OverlayBox/OverlayBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export const OverlayBox = withOverlayBoxVariation(
height={targetRect.height}
onClick={handleTargetClick}
>
<Box position="absolute" ref={innerRef} {...boxProps}>
<Box role="dialog" position="absolute" ref={innerRef} {...boxProps}>
{children}
</Box>
</Box>
Expand Down

0 comments on commit 10580a0

Please sign in to comment.