You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
aria-owns is set to autosuggest__results, which is a class rather than an id. aria-owns only accepts ids.
Suggested solution:
Add an id to the autosuggest__results-container element (not autosuggest__results since it is conditionally rendered, and aria-owns must be given an id of an element that exists). Ideally, this would be based off of the main element's id. That way, custom ids can be created so that multiple autosuggests can live on the same page.
vue-autosuggest
version: 2.0.2node
version: v10.15.2npm
(oryarn
) version: 6.4.1Relevant code or config
What you did:
aria-owns
attribute on input fieldWhat happened:
A violation concerning
aria-owns
is captured.Reproduction sandbox/repository:
https://darrenjennings.github.io/vue-autosuggest/
Problem description:
aria-owns
is set toautosuggest__results
, which is a class rather than an id.aria-owns
only accepts ids.Suggested solution:
Add an
id
to theautosuggest__results-container
element (notautosuggest__results
since it is conditionally rendered, andaria-owns
must be given an id of an element that exists). Ideally, this would be based off of the main element's id. That way, custom ids can be created so that multiple autosuggests can live on the same page.something like:
The text was updated successfully, but these errors were encountered: