visuallyselected

visuallyselected
Type: boolean
New in Firefox 40.
Indicates that a tab is selected. The visuallyselected attribute is set asynchronously, once the browser has switched to the selected tab.
If your code needs to apply some styling to the currently selected tab, this is the attribute you should use from Firefox 40 onwards.
This value is read-only. To change the selection, set either the selectedIndex or selectedItem property of the containing element.