Clicking the "Move focus" buttons should move focus to their respective containers (divs) that follow. subsequent TAB or VO+right arrow would move focus to the first focusable element (buttons) in the container. The expected behavior is achieved when using a keyboard to navigate. However, when Voiceover is enabled, the Voiceover cursor moves to the first child in the container (either a button in the first example, or the Heading in the third. An aria-label has been added to the second and fourth containers, and the expected behavior is observed. All containers, are announced as having the "group" role.
The container below has a tabindex=-1.
The container below has a tabindex=-1 and an aria-label.
The container below has a tabindex=-1 and a heading followed by a menu
The container below has a tabindex=-1 and an aria-label and a heading followed by a menu.