Make collapsed elements accessible without JavaScript
Created by: mbrodala
Currently the style of the .collapse
class is applied unconditionally. If JavaScript is not available for one or another reason, such content is not accessible.
This can be fixed with the usual no-js
/js
classes like what Modernizr does.
In the most basic case this can be achieved as simple as this:
$("html").addClass("js")
Then in less/component-animations.less change .collapse
to .js .collapse
.