the 23rd of October, 2017

Version 2.0 for accessible modal 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 modal source</div>:

van11yAccessibleModalWindowAria(document.getElementById('newContent'));

This update has been published on Github/NPM (See Github repositery of Van11y modal script). Documentation has also been updated.

An important point: this update does not break the compatibility with previous versions.