What was supposed to be a feature is really a bug. I'm not sure what the background is to deciding to add a class of "element-invisible" to the Body field label, but this makes it impossible to use the summary toggle.
Why was this done?
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | panopoly_admin-hide-body-label-better-2461077-7.patch | 2.54 KB | dsnopek |
Comments
Comment #1
dsnopekWe've always hidden the body label. We used to do it using
Javascript, which wasn't accessible. So, we switched it to using the 'element-invisible' class which is accessible (ie. it'll get read by screenreaders). Here's the original issue:display: nonein CSS#2396241: Hide field labels in a more accessible way
Unfortunately, no one noticed that it had collateral damage on the summary toggle. :-/ I'm not sure what the fix is yet...
Comment #2
dsnopekIt turns out we used to do this in Javascript and actually forgot to remove the Javascript code. From #2396241-13: Hide field labels in a more accessible way:
Comment #3
dshields commentedA good solution would be to not remove the body label.
Comment #4
dsnopekIt probably should be made optional, but this is a feature we need to continue to support (and it shouldn't break the summary toggle when used!)
Comment #5
dshields commentedSkip this patch
Comment #6
dshields commentedOops - try this patch instead. In the first one, I removed a line that I had previously commented out. It should just be removed.
If you need to support that feature, this patch may get you started on a fix that works. I'm not quite sure why the feature needs to be supported, but..
Comment #7
dsnopekThanks for the patch!
Here's a new patch inspired by yours, except with the following changes:
Anyway, best I can tell this patch will bring us back to the same behavior that existed in Panopoly 1.18 and earlier!
Comment #8
dsnopekCommitted! Thanks again for your help on this. :-)
Comment #10
dshields commentedHappy to help :-)