Skip to content

Releases: KittyGiraudel/a11y-dialog

4.0.1

30 Nov 10:36
Compare
Choose a tag to compare
  • Add license key to package.json (37155b2)

4.0.0

04 Oct 10:43
Compare
Choose a tag to compare
  • No longer pass event.target as second argument of events (#75)
  • No longer pass event.currentTarget as third argument of events (#75)
  • Now pass event (whole object) as second argument of events (#75)

3.1.0

04 Oct 10:41
Compare
Choose a tag to compare
  • Pass event.currentTarget as third argument to all events (#74)

3.0.2

06 Aug 10:16
Compare
Choose a tag to compare
  • Fixed incorrect tabindex value for dialog title in documentation (#64)

⚠️ Important update

Prior to 3.0.2, a11y-dialog recommended to add tabindex="0" to the dialog title so that it can be focused by the script on dialog opening, in order to avoid jumping directly to an element further down within the dialog. This constitues a WCAG violation under Focus Order.

Version 3.0.2 now recommends you put the close button first so it can be focused right away, and remove tabindex="0" from the title element.

3.0.1

06 Aug 09:19
Compare
Choose a tag to compare
  • Fixed global context to ensure platform compatibility (#72)

3.0.0

30 Jan 09:50
Compare
Choose a tag to compare
  • Main element no longer assumed (breaking)
  • Events no longer DOM based (breaking)
  • New events callback signature (breaking)
  • Lack of initial aria-hidden="true" now safe (possibly breaking)
  • New .create() method
  • Method chaining now possible
  • New test suite
  • Library entirely rewritten with inline comments + JSDoc
  • Reworked documentation

PR: #62.
Intro: http://hugogiraudel.com/2017/01/30/introducing-a11y-dialog-v3/.
Credits: thanks to Mike Smart & Loïc Giraudel.

2.5.7

05 Jan 14:03
Compare
Choose a tag to compare
2.5.7

2.5.5

23 Nov 14:58
Compare
Choose a tag to compare
  • Prevent the show method from ever running if dialog is shown and the hide method from ever running if dialog is hidden (#58)

2.5.4

02 Nov 15:40
Compare
Choose a tag to compare
  • Fixed an issue with Custom Events not working anymore since 2.5.3

2.5.3

02 Nov 15:40
Compare
Choose a tag to compare
  • Fixed a reference to the global object which prevented the module from loading on the server