| 1 |
# Changelog |
| 2 |
|
| 3 |
## [5.0.0] - 2024-04 |
| 4 |
|
| 5 |
This is a complete overhaul of the plugin, based on extensive feedback and testing in screen |
| 6 |
readers. Some breaking changes have been made to improve the defaults. If you haven't customized the |
| 7 |
plugin options, it's safe to upgrade, otherwise consult the readme. |
| 8 |
|
| 9 |
- Rethink announcements: use assertive live region and announce after a delay (@ScoobyDid) |
| 10 |
- Focus `body` on navigation instead of `main` |
| 11 |
- Only use `h1` for announcements by default, ignore `h2` |
| 12 |
- Disable animations by default if users prefer reduced motion |
| 13 |
- Correctly exclude `inert` elements from autofocus |
| 14 |
- Tested in VoiceOver, JAWS and NVDA |
| 15 |
|
| 16 |
## [4.5.2] - 2024-04-15 |
| 17 |
|
| 18 |
- Use fallback announcement for unknown languages |
| 19 |
|
| 20 |
## [4.5.1] - 2024-04-02 |
| 21 |
|
| 22 |
- Fix the type signature of `AnnouncementTranslations` |
| 23 |
|
| 24 |
## [4.5.0] - 2023-11-21 |
| 25 |
|
| 26 |
- Add option to focus `autofocus` elements |
| 27 |
|
| 28 |
## [4.4.2] - 2023-10-26 |
| 29 |
|
| 30 |
- Add new method `swup.announce` for programmatically announcing something |
| 31 |
|
| 32 |
## [4.4.1] - 2023-09-25 |
| 33 |
|
| 34 |
- Use `@swup/cli` for bundling |
| 35 |
|
| 36 |
## [4.4.0] - 2023-09-19 |
| 37 |
|
| 38 |
- Add support for multi-language page announcements |
| 39 |
|
| 40 |
## [4.3.0] - 2023-08-30 |
| 41 |
|
| 42 |
- Allow overriding or disabling focus selector per visit |
| 43 |
- Fix issue where reduced motion feature would animate history visits |
| 44 |
|
| 45 |
## [4.2.0] - 2023-08-20 |
| 46 |
|
| 47 |
- Allow disabling animations if users prefer reduced motion |
| 48 |
|
| 49 |
## [4.1.0] - 2023-07-30 |
| 50 |
|
| 51 |
- Port to TypeScript |
| 52 |
|
| 53 |
## [4.0.0] - 2023-07-26 |
| 54 |
|
| 55 |
- Update for swup 4 compatibility |
| 56 |
|
| 57 |
## [3.0.0] - 2023-03-10 |
| 58 |
|
| 59 |
- Switch to microbundle |
| 60 |
- Export native ESM module |
| 61 |
|
| 62 |
## [2.1.0] - 2022-08-21 |
| 63 |
|
| 64 |
- Set `aria-busy` on html element during transitions |
| 65 |
|
| 66 |
## [2.0.0] - 2021-03-15 |
| 67 |
|
| 68 |
- Fix bundle name |
| 69 |
|
| 70 |
## [1.0.0] - 2020-08-10 |
| 71 |
|
| 72 |
- Initial release |
| 73 |
|
| 74 |
[5.0.0]: https://github.com/swup/a11y-plugin/releases/tag/5.0.0 |
| 75 |
[4.5.2]: https://github.com/swup/a11y-plugin/releases/tag/4.5.2 |
| 76 |
[4.5.1]: https://github.com/swup/a11y-plugin/releases/tag/4.5.1 |
| 77 |
[4.5.0]: https://github.com/swup/a11y-plugin/releases/tag/4.5.0 |
| 78 |
[4.4.2]: https://github.com/swup/a11y-plugin/releases/tag/4.4.2 |
| 79 |
[4.4.1]: https://github.com/swup/a11y-plugin/releases/tag/4.4.1 |
| 80 |
[4.4.0]: https://github.com/swup/a11y-plugin/releases/tag/4.4.0 |
| 81 |
[4.3.0]: https://github.com/swup/a11y-plugin/releases/tag/4.3.0 |
| 82 |
[4.2.0]: https://github.com/swup/a11y-plugin/releases/tag/4.2.0 |
| 83 |
[4.1.0]: https://github.com/swup/a11y-plugin/releases/tag/4.1.0 |
| 84 |
[4.0.0]: https://github.com/swup/a11y-plugin/releases/tag/4.0.0 |
| 85 |
[3.0.0]: https://github.com/swup/a11y-plugin/releases/tag/3.0.0 |
| 86 |
[2.1.0]: https://github.com/swup/a11y-plugin/releases/tag/2.1.0 |
| 87 |
[2.0.0]: https://github.com/swup/a11y-plugin/releases/tag/2.0.0 |
| 88 |
[1.0.0]: https://github.com/swup/a11y-plugin/releases/tag/1.0.0 |