]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commit
Refining tabindex setting on tab change 5864/head
authorJ Potts <jopotts@gmail.com>
Wed, 1 Oct 2014 13:46:32 +0000 (14:46 +0100)
committerJ Potts <jopotts@gmail.com>
Wed, 1 Oct 2014 13:46:32 +0000 (14:46 +0100)
commitd505719fba5a666eb395999324146b77bc3d35ab
treedfaea29bbf3762496a10783d46f4edd931319cfd
parentd44fd1882d3af7ca92da3432ec7c0c99048f2c61
Refining tabindex setting on tab change

All first-children of tab-content was having a tabindex assigned on the change of tab. This caused the unnecessary inclusion of non-form items in the tab ordering and wasn't required to make the tab content accessible. This change is to leave all tabindex attrs of the tab-content items alone, but leave the setting of the tabs themselves unaffected.
js/foundation/foundation.tab.js
scss/foundation/components/_tabs.scss