New Accordion extension #501
Replies: 4 comments
-
Very nice. One question: How can I combine a "normal" list (no accordion) with an accordion? A glimpse look on it (did not test) seems to offer a general solution: either an accordion or a list. This excludes the use of both simultaneously . Might be an accademical question but spontaneously I have circumstances where this would be a challenge. |
Beta Was this translation helpful? Give feedback.
-
Thank you :-)
In different pages it is very easy: for example it is sufficient to add in a page a setting |
Beta Was this translation helpful? Give feedback.
-
My fault: A too glimpse look… I think together in one page is unlikly – I have no idea, where this necessarily might happen. Therefore this is something might be thought about, if there is a very good must have explananation… To make it clear: is a system entry neccessary anyway? |
Beta Was this translation helpful? Give feedback.
-
Yes, right! |
Beta Was this translation helpful? Give feedback.
-
Another small extension: https://github.com/GiovanniSalmeri/yellow-accordion
It will automatically present in an accordion style so-called definition lists (an extension to Markdown supported by PHP Markdown Extra, the parser currently used by Yellow). The accordion generated is fully accessible with the keyboard and should be accessible also with screen readers. All with about 35 lines of Javascript and a tiny style-sheet :-) I have written this extension for my personal use, hope it will be useful to someone else. Comments welcomed!
Beta Was this translation helpful? Give feedback.
All reactions