Skip to content

Commit 88a158b

Browse files
authored
[core] fix(MenuItem): make items focusable for a11y consistency (#4892)
1 parent 76a90a2 commit 88a158b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/core/src/components/menu/menuItem.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ export class MenuItem extends AbstractPureComponent2<MenuItemProps & React.Ancho
161161
const target = React.createElement(
162162
tagName,
163163
{
164+
tabIndex: 0,
164165
...htmlProps,
165166
...(disabled ? DISABLED_PROPS : {}),
166167
className: anchorClasses,

0 commit comments

Comments
 (0)