Skip to content

v1.0.0

Latest
Compare
Choose a tag to compare
@tillsanders tillsanders released this 17 Oct 13:18

After a long time, I finally came around to give this polyfill some love. Sadly, browser support for accessKeyLabel is unchanged (i.e. bad). I assume this is because accessKey itself is used very little today and is not advised on normal websites (see warning in MDN documentation). I still believe it has value for complex web applications, so I'll keep using it.

Changelog

This version comes with two breaking changes, improved Chrome support and improved tooling:

  • BREAKING: Convert to native ESM module (remove UMD support)
  • BREAKING: Remove installation function (accessKeyLabelPolyfill()) and install automatically instead
  • Add support for Chrome on Windows
  • Update dependencies and overhaul tooling
  • Improve CI/CD
  • Move to Vite + Vitest
  • Update demo and documentation

Upgrade

  1. Install the latest version: npm i access-key-label-polyfill@latest.
  2. Change import and remove installation function (accessKeyLabelPolyfill()) – all you need is either:
    a. import "access-key-label-polyfill"; ... or ...
    b. <script type="module" src="path/to/node_modules/access-key-label-polyfill/dist/AccessKeyLabelPolyfill.js"></script>