Focus is not retain on the links and looping in between the links.

iOS and iPadOS

Test Environment:
Device: Iphone
Browser: Safari (Voice Over)

Repro steps:
1. Enable the voice over
2. We have multiple links in the page.
3. Swipe to select the next section links.
4. swipe left side to select the previous links.

if user try to select the previous/next link focus is moving to heading.

If user try to select the links focus should go based on the direction.

Please suggest you have any information.