Releases: nico3333fr/van11y-accessible-modal-window-aria
Releases · nico3333fr/van11y-accessible-modal-window-aria
Fix CSS namespacing generation
Fix CSS namespacing generation for close button text and image.
Ability to add aria-describedby on the modal
Attribute data-modal-describedby-id
: adds aria-describedby=<the value of this attribute>
to the dialog
tag
Add data-modal-focus-toid attribute
- Enhanced demos (& new example)
- Added data-modal-focus-toid attribute (to give focus to an element in modal
- Fix listeners (for Webpack)
Add `class="js-modal-close"` (on any element) to trigger close button
v2.1.0 Add class="js-modal-close" (on any element) to trigger close button …
Version 2.0: Add API to add programmatically modal
If you need to apply hide/show script to <div id="newContent">your modal launcher source</div>
do use:
van11yAccessibleModalWindowAria(document.getElementById('newContent'));
Updated documentation
Issue fixed on VoiceOver
V1.1.1 Fixed issue on Voice Over
Fix bug when button is composed with an image (or any child)
Fix bug when button is composed with an image (or any child), as kindly reported in #2
Fixed bug when closing modal with keyboard
v1.0.6 Fixed bug when closing modal with keyboard
First release of the script
V1.0.5 A real readme now