Skip to content

Commit

Permalink
Merge 3d04aef into 5a20e34
Browse files Browse the repository at this point in the history
  • Loading branch information
it-vegard authored Sep 22, 2023
2 parents 5a20e34 + 3d04aef commit f37d3b9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/slimy-rocks-talk.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@navikt/ds-react": patch
---

Remove tabIndex="-1" on Popover to fix VoiceOver navigation issue inside Popover
2 changes: 1 addition & 1 deletion @navikt/core/react/src/popover/Popover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -210,14 +210,14 @@ export const Popover = forwardRef<HTMLDivElement, PopoverProps>(
})}
data-placement={flPlacement}
aria-hidden={!open || !anchorEl}
tabIndex={-1}
{...getFloatingProps({
ref: floatingRef,
style: {
position: strategy,
top: y ?? 0,
left: x ?? 0,
},
tabIndex: undefined,
})}
{...rest}
>
Expand Down

0 comments on commit f37d3b9

Please sign in to comment.