Skip to content

Commit

Permalink
fix(ui-shell): remove role="menuitem" from Switcher li's (#5525)
Browse files Browse the repository at this point in the history
* fix(Dropdown): rely on list-box height closes #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 authored Mar 5, 2020
1 parent 93f0f07 commit 58f262b
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 58f262b

Please sign in to comment.