Skip to content

v2.1.2 Bugfixes a11y improvements and negative index regression

Compare
Choose a tag to compare
@darrenjennings darrenjennings released this 29 May 17:44
· 6 commits to master since this release

Fixes #191 and #190. Thanks to @account-suspended and @ariross for the bug reports!

Changelog:

  • fix(currentIndex) disallow negative index > -1
  • fix(a11y) ARIA attributes must conform to valid values
    • Add docs for
    • Ensures every ARIA input field has an accessible name: aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. This was due to the fact that aria-labelledby in the <ul> was always referencing "autosuggest". Now it will use the section config label.