zurb/foundation — pull request #4301 by iamkirkbater (2014-01-31 18:13:44+00:00)
Title: Added Active Classing to the parent dd for ease-of-styling the a tag for...

I've added 3 lines of javascript that also add the "active_class" to the accordion cell container (the dd tag) so that you can add styles to the accordion cell a tag, for things like an arrow that points down when idle, and points right or up when active.

Taken from issue #4082, and is really only a workaround for the time being. To make this a clean active placement, we would need to just switch the "target" but that would provide NO backwards compatibility to the accordions, because callbacks and styles will fail on users, so that may be something necessary for a Foundation 6, possibly?