christianwach / civicrm-admin-utilities

CiviCRM Admin Utilities is a WordPress plugin that modifies and enhances CiviCRM's appearance and behaviour in single site and multisite WordPress installs.
https://wordpress.org/plugins/civicrm-admin-utilities/
GNU General Public License v2.0
20 stars 10 forks source link

Fix accordions in Civi 5.69+ #37

Closed MegaphoneJon closed 10 months ago

MegaphoneJon commented 10 months ago

CiviCRM 5.69 introduces a11y improvements for accordions, but this breaks Radstock.

You can replicate this on the Advanced Search page by attempting to expand any accordions.

This ports https://github.com/civicrm/civicrm-core/pull/28541 and https://github.com/civicrm/civicrm-core/pull/28781 to Radstock, which fixes the issue.

christianwach commented 10 months ago

@MegaphoneJon Thanks for alerting me to this... however I can't seem to expand the accordions in 5.69 even with these changes. It's only when I remove the display: none declaration that they appear. Is that the same for you?

Also, are you using the Admin UI extension?

christianwach commented 10 months ago

And also daaaaamn, the theme needs an overhaul 😢 Am seriously considering upping the supported version of CiviCRM to 5.31 so that I can merge the myriad CSS files and ditch support for versions that don't support CiviCRM themes.

christianwach commented 10 months ago

@MegaphoneJon My mistake, your fix does work. Need more coffee ☕

christianwach commented 10 months ago

Thanks!