Skip to content

Commit

Permalink
fix(dropdowns.next): adds missing role to itemgroup (#1886)
Browse files Browse the repository at this point in the history
  • Loading branch information
geotrev authored Aug 15, 2024
1 parent a0ac016 commit 052c7cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/dropdowns.next/src/elements/menu/ItemGroup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export const ItemGroup = forwardRef<HTMLLIElement, IItemGroupProps>(

return (
<ItemGroupContext.Provider value={contextValue}>
<StyledItem isCompact={isCompact} $type="group" {...props} ref={ref}>
<StyledItem isCompact={isCompact} $type="group" {...props} role="none" ref={ref}>
<StyledItemContent>
{(content || legend) && (
<StyledItem as="div" isCompact={isCompact} $type="header">
Expand Down

0 comments on commit 052c7cd

Please sign in to comment.