A very lightweight and flexible accessible modal dialog script.
MIT License
Bot releases are visible (Hide)
Full Changelog: https://github.com/KittyGiraudel/a11y-dialog/compare/8.0.3...8.0.4
Published by KittyGiraudel about 1 year ago
Full Changelog: https://github.com/KittyGiraudel/a11y-dialog/compare/8.0.2...8.0.3
Published by KittyGiraudel about 1 year ago
Full Changelog: https://github.com/KittyGiraudel/a11y-dialog/compare/8.0.1...8.0.2
Published by KittyGiraudel about 1 year ago
Full Changelog: https://github.com/KittyGiraudel/a11y-dialog/compare/8.0.0...8.0.1
Published by KittyGiraudel about 1 year ago
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
_id
) are no longer prefixed, and marked as private in TypeScript instead (by @mxmason in #379).CustomEvent
objects instead of a custom event system, and the event listener signature has changed (#239).Potentially breaking
summary
elements (f600fb0e1df9d6069b874150e07ed1d2d3b9e455).fieldset
elements as focusable (#462).Non-breaking
dist
folder is no longer part of the repository, only the source files remain (by @mxmason in #374).Full Changelog: https://github.com/KittyGiraudel/a11y-dialog/compare/7.5.3...8.0.0
Published by KittyGiraudel about 1 year ago
Full Changelog: https://github.com/KittyGiraudel/a11y-dialog/compare/7.5.2...7.5.3
Published by KittyGiraudel about 1 year ago
Full Changelog: https://github.com/KittyGiraudel/a11y-dialog/compare/6.1.1...6.1.2
Published by KittyGiraudel about 2 years ago
Full Changelog: https://github.com/KittyGiraudel/a11y-dialog/compare/7.5.1...7.5.2
Published by KittyGiraudel about 2 years ago
Full Changelog: https://github.com/KittyGiraudel/a11y-dialog/compare/7.5.0...7.5.1
Published by KittyGiraudel over 2 years ago
event.which
to event.key
by @tomasvn in https://github.com/KittyGiraudel/a11y-dialog/pull/357
Full Changelog: https://github.com/KittyGiraudel/a11y-dialog/compare/7.4.0...7.5.0
Published by KittyGiraudel over 2 years ago
hide
and show
functions to accept CustomEvent
by @ZerdoX-x in https://github.com/KittyGiraudel/a11y-dialog/pull/326
Full Changelog: https://github.com/KittyGiraudel/a11y-dialog/compare/7.3.0...7.3.1
Published by KittyGiraudel about 3 years ago
Published by KittyGiraudel about 3 years ago
Published by KittyGiraudel over 3 years ago
Published by KittyGiraudel over 3 years ago
latest
tag onto the v7 majorPublished by KittyGiraudel over 3 years ago
Published by KittyGiraudel over 3 years ago
Published by KittyGiraudel over 3 years ago
Published by KittyGiraudel over 3 years ago
Version 7 of a11y-dialog
aims at reducing complexity, both in terms of implementation, but also in terms of usage.
It is not backward compatible with version 6 (hence the major version bump). The update should not be overly difficult, but requires development work. Read the migration guide.
[Breaking] Drop support for the native <dialog>
element (and the open
HTML attribute). It is inconsistent, and already actively discouraged in the documentation. There is a lot of logic around supporting its side-effects which we would be better off. (#158, #163)
[Breaking] Use aria-modal="true"
to no longer make the main content container(s) inert with aria-hidden="true"
. This significantly reduces the markup expectations and limit the risks of passing the incorrect main content container(s) to the library since it no longer needs them. (#155, #164)
As a result, using a11y-dialog
should become significantly easier, and the script size dropped ~20% (now around 1.3Kb).
Published by KittyGiraudel over 3 years ago
Version 7 of a11y-dialog
aims at reducing complexity, both in terms of implementation, but also in terms of usage.
It is not backward compatible with version 6 (hence the major version bump). The update should not be overly difficult, but requires development work. Read the migration guide.
[Breaking] Drop support for the native <dialog>
element (and the open
HTML attribute). It is inconsistent, and already actively discouraged in the documentation. There is a lot of logic around supporting its side-effects which we would be better off. (#158, #163)
[Breaking] Use aria-modal="true"
to no longer make the main content container(s) inert with aria-hidden="true"
. This significantly reduces the markup expectations and limit the risks of passing the incorrect main content container(s) to the library since it no longer needs them. (#155, #164)
As a result, using a11y-dialog
should become significantly easier, and the script size dropped ~20% (now around 1.3Kb).