Skip to content

Commit dd06273

Browse files
igalklebanovgioboa
andcommitted
fix(popover-content): add aria-label attr to pass a11y cypress assertion
Co-authored-by: Giorgio Boa <[email protected]>
1 parent 13ab0c0 commit dd06273

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

packages/kit-headless/src/components/popover/popover-content.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,13 @@ export const PopoverContent = component$(() => {
1919
});
2020

2121
return (
22-
<div ref={ref} role="dialog" aria-modal="true" class="popover-content">
22+
<div
23+
ref={ref}
24+
role="dialog"
25+
aria-modal="true"
26+
aria-label="Popover"
27+
class="popover-content"
28+
>
2329
<Slot />
2430
</div>
2531
);

0 commit comments

Comments
 (0)