Skip to content

Commit

Permalink
fix(DropdownExpandableMenuListItem): Add role (#1149)
Browse files Browse the repository at this point in the history
  • Loading branch information
silvalaura authored Oct 20, 2023
1 parent 2c28fc6 commit 89e7a8f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/dropdown-menuItemRole.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'react-magma-dom': patch
---

fix(DropdownExpandableMenuListItem): Add `role="menuitem"`
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ export const DropdownExpandableMenuListItem = React.forwardRef<
isExpandablePanel={menuGroupContext.isExpandablePanel}
ref={expandableMenuItemContext.disabled ? null : ref}
theme={theme}
role="menuitem"
>
{children}
</StyledDropdownMenuItem>
Expand Down

2 comments on commit 89e7a8f

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.