Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
mgiffordNeeded 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
Comment #2
mgiffordMore on display:none; here: http://drupal.org/node/58941
Comment #3
heddnMarking 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.