Skip to content

Commit 36d0e13

Browse files
author
Kubit
committed
Include default aria values to tooltip asModal
1 parent d3f00ae commit 36d0e13

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/tooltip/tooltipStandAlone.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,8 @@ const TooltipStandAlone = ({
190190
trapFocusInsideModal={true}
191191
variant={props.styles.popoverVariant?.[props.mediaDevice]}
192192
{...props.popover}
193+
aria-label={props.popover?.['aria-label'] || props.tooltipAriaLabel}
194+
aria-modal={props.tooltipAsModal || undefined}
193195
onCloseInternally={props.onPopoverCloseInternally}
194196
>
195197
{Tooltip}

0 commit comments

Comments
 (0)