Skip to content

Releases: KittyGiraudel/a11y-dialog

8.0.4

03 Oct 07:14
Compare
Choose a tag to compare

What's Changed

  • Try/catch a new DOM query which could fail in unsupported browsers (a446b5c)

Full Changelog: 8.0.3...8.0.4

8.0.3

02 Oct 08:32
Compare
Choose a tag to compare

What's Changed

  • Consider open popovers when pressing ESC (#578)
  • Update dev dependencies

Full Changelog: 8.0.2...8.0.3

8.0.2

30 Sep 12:20
Compare
Choose a tag to compare

What's Changed

  • Respect ignore-focus attribute when shown via focus event (by @nowylie in #583)
  • Update some dev dependencies

New Contributors

Full Changelog: 8.0.1...8.0.2

8.0.1

09 Aug 07:54
Compare
Choose a tag to compare

What's Changed

  • Update some dev dependencies (#550, #551, #552, #554)
  • Ensure the banner comment in the dist files mention v8+

Full Changelog: 8.0.0...8.0.1

8.0.0

22 Jul 08:52
Compare
Choose a tag to compare

What’s Changed

This version focuses on source code optimization by leveraging TypeScript, ES6 and DOM APIs. Besides the events signature having changed, version 8 should be mostly backward-compatible provided you do not rely on internal properties and do not need Internet Explorer support. If you do, stick to v7.

Read the migration guide.

Breaking

  • The library now longer supports Internet Explorer (by @mxmason in #382).
  • Pseudo-private properties prefixed with an underscore (e.g. _id) are no longer prefixed, and marked as private in TypeScript instead (by @mxmason in #379).
  • All events now go through cancellable DOM CustomEvent objects instead of a custom event system, and the event listener signature has changed (#239).

Potentially breaking

  • The focus trap now accounts for Shadow DOM (by @mxmason in #397 and #459, solving #322).
  • The focus trap now accounts for summary elements (f600fb0).
  • The focus trap no longer considers children of disabled fieldset elements as focusable (#462).
  • The focus trap no longer considers elements within disabled, inert and hidden parents as focusable (#464).

Non-breaking

  • The code has been rewritten in TypeScript (by @mxmason in #379 and #380).
  • The code now leverages ES6 syntax such as classes, optional chaining operator and arrow functions (by @mxmason in #375 and #376).
  • The dist folder is no longer part of the repository, only the source files remain (by @mxmason in #374).
  • Click events are now listened to at the document level (by @mxmason in #387, solving #367).
  • The focus-trap event listener is now bound on the dialog container instead of the body element (by @mxmason in #380).
  • The auto-instantiation of dialogs has been simplified but remains functionally unchanged (by @mxmason in #380).
  • A lot of development dependencies have been updated.

New Contributors

  • Huge thanks to @mxmason for their extensive contributions with version 8, from the TypeScript rewrite to the Shadow DOM support.
  • Special thanks to Alice Boxhall for her kind help with the Shadow DOM implementation.

Full Changelog: 7.5.3...8.0.0

7.5.3

22 Jul 08:38
Compare
Choose a tag to compare

What's Changed

  • Issue a workaround for a long-lasting Safari focus bug (#518)

Full Changelog: 7.5.2...7.5.3

6.1.2

22 Jul 08:27
Compare
Choose a tag to compare

What's Changed

  • Issue a workaround for a long-lasting Safari focus bug (#521)

Full Changelog: 6.1.1...6.1.2

7.5.2

17 Aug 07:59
Compare
Choose a tag to compare

What's Changed

  • Fix incorrect handling of nested dialogs (#399, #400)
  • Remove obsolete styles from the fixture files (754d56c)
  • Update focusable-selectors dependency (c61526e)
  • Update dev dependencies (c22e463)

Full Changelog: 7.5.1...7.5.2

7.5.1

05 Aug 13:46
Compare
Choose a tag to compare

What's Changed

  • Add missing type for ‘shown’ property (#394)

Full Changelog: 7.5.0...7.5.1

7.5.0

09 Jun 08:09
Compare
Choose a tag to compare

What's Changed

  • Upgrade Cypress to v10 in #359
  • Update event.which to event.key by @tomasvn in #357
  • Bump a lot of dependencies via Dependabot

New Contributors

Full Changelog: 7.4.0...7.5.0