Adds information on accessible accordions, for Civi > 5.69...
Adds information on accessible accordions, following this: https://github.com/civicrm/civicrm-core/pull/28415. Once 5.69 is on general release, it might be helpful to remove the non-accessible version.
Merge request reports
Activity
mentioned in issue dev/user-interface#60
mentioned in commit fddd7bcf
80 The markup is similar to the method above and uses the same classes to support old themes: 81 82 ``` 83 <details class="crm-accordion-wrapper" open> 84 <summary class="crm-accordion-header"> 85 A title 86 </summary> 87 <div class="crm-accordion-body"> 88 A body. 89 </div> 90 </details> 91 ``` 92 93 Using `open` in the first line ensures the accordion is expanded: don't include this if the accordion should be initially closed. 94 95 Adding `.crm-master-accordion-header` to the summary element (e.g. `<summary class="crm-accordion-header crm-master-accordion-header">`) acts as a style modifier to give the accordion header a transparent background, and also remove the border from crm-accordion-body. This same method works without details/summary and is visiible on for e.g. the Find Cases or Participants interfaces. master
? did you mean that?I'd like to avoid adding the word master in any of our work for the same reasons as many others have expressed far better than I can summarise.
The master/slave terminology was first used in 1904. Since the early 21st century, the terms have become a subject of controversy from their association with slavery and some organizations have opted to replace them with alternative terms. wikipedia
Edited by RichWeren't you going to rename the main branch of themetest over this?
Yep, thanks for the reminder! Done (thanks to instructions)