Tabs + Details: Open ancestor tabpanels and details elements when setfocus event is triggered inside

Fixes #6393
Merge pull request #6396 from pjackson28/openclosedonfocus

Tabs + Details: Open ancestor tabpanels and details elements when setfocus event is triggered inside