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.