After installing jQuery update my fieldsets could still expand and collapse but setting the default to collapsed wouldn't work. When looking at the code via FireBug I noticed that initially the div.fieldset-wrapper class styling is set to "Display:inline;" when default collapsed rather than "Display:none;" To fix the problem was a super minor change in the collapse.js.

~line 76: Originally:

.css({height: 'auto', display: 'inline'});

~line 76: Changed to:

.css({height: 'auto', display: 'none'});

Hope this helps someone. Cheers.

Comments

mgifford’s picture

Needed to note here that display: none has accessibility issues - http://juicystudio.com/article/screen-readers-display-none.php

We need to have better approaches to deal with collapsing/expanding sections so that blind folks can even reach the advanced search page for instance.

Mike

mgifford’s picture

Issue tags: +Accessibility

More on display:none; here: http://drupal.org/node/58941

heddn’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

Marking this as won't fixed. 5.x is no longer supported/maintained. If this is still an issue in 7.x, then please re-open.