Skip to content

Releases: swup/a11y-plugin

5.0.0

29 Apr 10:17
56c080d
Compare
Choose a tag to compare

This is a complete overhaul of the plugin, based on extensive feedback and testing in screen readers. Some breaking changes have been made to improve the defaults. If you haven't customized the plugin options, it's safe to upgrade, otherwise please consult the readme.

  • Rethink announcements: use assertive live region and announce after a delay (@ScoobyDid)
  • Focus body on navigation instead of main
  • Only use h1 for announcements by default, ignore h2
  • Disable animations by default if users prefer reduced motion
  • Correctly exclude inert elements from autofocus
  • Tested in VoiceOver, JAWS and NVDA

4.5.2

15 Apr 13:50
Compare
Choose a tag to compare
  • Use fallback announcement for unknown languages

4.5.1

02 Apr 16:58
1f1ceb8
Compare
Choose a tag to compare
  • Fix the type signature of options.announcements

4.5.0

21 Nov 12:35
28dc716
Compare
Choose a tag to compare
  • Add option to focus autofocus elements

4.4.2

27 Oct 08:26
6369e21
Compare
Choose a tag to compare
  • Add new method swup.announce for programmatically announcing something

4.4.1

26 Sep 12:00
33b159f
Compare
Choose a tag to compare
  • Use @swup/cli for bundling

4.4.0

19 Sep 15:35
5fdf032
Compare
Choose a tag to compare
  • Add support for multi-language page announcements

4.3.0

30 Aug 15:18
f2a8a3b
Compare
Choose a tag to compare
  • Allow overriding or disabling focus selector per visit
  • Fix issue where reduced motion feature would animate history visits

4.2.0

20 Aug 20:24
581acbd
Compare
Choose a tag to compare
  • Allow disabling animations if users prefer reduced motion

4.1.1

08 Aug 10:40
a76cd30
Compare
Choose a tag to compare
  • Make the type declaration file discoverable for tools not using the "exports" field