a11y tabs (css) issue

Update: this was originally posted in 2016. A quick test in 2019 with MacOS 10.14.5 and Safari 12.1.1 does not reveal this issue. I also quickly tested in iOS with Safari, which works but announces "reader available" every time a new tab is activated.

This has been driving me crazy. I've been trying to implement aria for tabs that use url fragments (hashes) to keep track of the currently selected tabs (which also allows for linking directly to a specific tab). However, when testing is Safari with Voice Over (VO), I noticed that when a tab is selected, the focus will be directed to an adjacent tab rather than remaining on the currently selected tab, thus potentially causing confusion. This ONLY happens in Safari when VO is turned ON. Testing was done with default VO settings. After much time I have determined the exact issue, but I still don't understand it. It is my belief that it is a VO bug. Details are outlined below. Now that I know what the issue is, I can make a work-around. However, I still don't understand why it is an issue in the first place.

The code for this can be found on my github repo. If you are able to tell me why this is happening, please open an issue. I'd like to understand why CSS is affecting the a11y tree and interaction.

My preferred contact information

Home contact information

Lots of input fields that do not matter for the purposes of demonstrating tabs.