-
-
Notifications
You must be signed in to change notification settings - Fork 825
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Contact Summary address: make accordion more accessible #29594
Contact Summary address: make accordion more accessible #29594
Conversation
🤖 Thank you for contributing to CiviCRM! ❤️ We will need to test and review this PR. 👷 Introduction for new contributors...
Quick links for reviewers...
|
@herbdool this is currently broken due to some interactions with JS -- do you want to investigate? |
Actually @herbdool I figured out the js issue. The class |
@highfalutin the PR works for me. (Just tested while waiting for the train to start 😉) I'm wondering if we want to add
I'm guessing there aren't any situations when clicking on an accordion should force in-place editing. |
@herbdool that's a great idea. I think maybe it belongs in a separate PR, where we can wipe out all instances of the |
Other custom field accordions on the contact dashboard use `.crm-accordion-light`.
That works really well, thanks for persevering to figure it out. Have added a small styling PR here. |
Gives inline accordion the light utility class
Overview
Toward user-interface#60 / core#3294 -- replaces the last remaining instance of .crm-collapsible, a less-accessible accordion pattern, with
<details><summary>
Before
.crm-collapsible
plus JS controlsAfter
<details><summary>
, with css class to play well with existing JS