Skip to content

Releases: nico3333fr/van11y-accessible-modal-window-aria

Fix CSS namespacing generation

28 Jun 21:32
Compare
Choose a tag to compare

Fix CSS namespacing generation for close button text and image.

Ability to add aria-describedby on the modal

04 May 22:48
Compare
Choose a tag to compare

Attribute data-modal-describedby-id: adds aria-describedby=<the value of this attribute> to the dialog tag

Add data-modal-focus-toid attribute

31 Mar 15:00
Compare
Choose a tag to compare
  • 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

24 Dec 16:53
Compare
Choose a tag to compare
 Add class="js-modal-close" (on any element) to trigger close button …

…modal

Version 2.0: Add API to add programmatically modal

22 Oct 09:08
Compare
Choose a tag to compare

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

18 Aug 10:00
Compare
Choose a tag to compare
V1.1.1

Fixed issue on Voice Over

Fix bug when button is composed with an image (or any child)

14 Jul 07:13
Compare
Choose a tag to compare

Fix bug when button is composed with an image (or any child), as kindly reported in #2

Fixed bug when closing modal with keyboard

19 Apr 14:20
Compare
Choose a tag to compare
v1.0.6

Fixed bug when closing modal with keyboard

First release of the script

18 Apr 15:40
Compare
Choose a tag to compare
V1.0.5

A real readme now