Accordion

Embedding H5P Content

I want to add an h5p accordion to a page (in a Moodle label), but not as a link, just as below. All is good. I cannot, however, change the width of the embedded accordion. I'd like to change it to 100% so that it is responsive to the device it is being viewed on. I have tried quite a few things, most notably this below, where I set the width to 100%, also to no avail. Any help would be appreciated.

Adding images to the Accordion content type

There have been several of these feature requests in the forums over the past months and years. There is also an open issue requesting this feature in the h5p-accordion content type repository @ GitHub. Furthermore there are pull requests that seemingly are not seeing the traffic that I would expect :D. Thus I'm opting to open this topic; let's discuss on how to get this feature in the content type! Because I would love to use imagery (or other content types) within the collapsible sections of the Accordion :D

How can we get PR41 rolling? How can I help?

0
0
Supporter votes Members of the Supporter Network can vote for feature requests. When the supporter network has generated sufficient funding for the top voted feature request it will normally be implemented and released. More about the H5P Supporter Network

Accordion Type non-heading option (accessibility issue)

Currently the Accordion content type editor has options for creating H2, H3, and H4s for the accordion toggles.

There should also be an non-heading option such as <P> or <SPAN>. When an accordion is inserted into a page of content, the heading will often break the surrounding document structure (i.e. the heading sequence), inserting a heading where none is expected.  Sometimes the author can predict where the accordion will be placed, and guess which heading to use so it fits the heading sequence on the page of content.

Pages