Skip to content

Commit

Permalink
fix(core): add tabIndex=0 to FieldActionMenu so that webkit can tab t…
Browse files Browse the repository at this point in the history
…o it like other browsers

Chromium and Firefox will tab to the FieldActions menu without tabIndex=0,
but Webkit needs to have it explicitly set in order to include it in the tab flow
  • Loading branch information
skogsmaskin committed Dec 12, 2024
1 parent fa403da commit c0695e4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ function RootFieldActionMenuGroup(props: {
<MenuButton
button={
<Button
tabIndex={0}
icon={node.icon}
aria-label={open ? undefined : title}
data-testid="field-actions-trigger"
Expand Down

0 comments on commit c0695e4

Please sign in to comment.