the 15th of October, 2017
Version 2.0 for accordion script
This first major update now allows to execute the script on AJAX generated content. If you need to do so, you may use for example on <div id="newContent">the accordion source</div>
:
van11yAccessibleAccordionAria(document.getElementById('newContent'));
This update has been published on Github/NPM today (See Github repositery of Van11y accordion script). Documentation has also been updated.
An important point: this update does not break the compatibility with previous versions.
A big thank to @intelligence for the suggestion, and to @dhoko_, my JavaScript mentor, always here to help me.