Skip to content

Commit

Permalink
fix(ui-shell): remove role="menuitem" from Switcher li's (carbon-desi…
Browse files Browse the repository at this point in the history
…gn-system#5525)

* fix(Dropdown): rely on list-box height closes carbon-design-system#4916

* fix(switcher): remove role=menuitems

Co-authored-by: Josh Black <[email protected]>
Co-authored-by: TJ Egan <[email protected]>
  • Loading branch information
3 people committed Mar 10, 2020
1 parent 2ec5098 commit 80d767b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/components/UIShell/SwitcherItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const SwitcherItem = React.forwardRef(function SwitcherItem(props, ref) {
});

return (
<li className={className} role="menuitem">
<li className={className}>
<Link
{...rest}
ref={ref}
Expand Down

0 comments on commit 80d767b

Please sign in to comment.