Skip to content

Commit

Permalink
Add menuitemcheckbox role to toggle menu items
Browse files Browse the repository at this point in the history
  • Loading branch information
robintown committed Sep 27, 2023
1 parent aefa816 commit b95b7a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/MenuItem/ToggleMenuItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export const ToggleMenuItem = forwardRef<HTMLInputElement, Props>(
<MenuItem
as="label"
htmlFor={toggleId}
role="menuitemcheckbox"
className={className}
Icon={Icon}
label={label}
Expand Down

0 comments on commit b95b7a5

Please sign in to comment.