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
@vueform/multiselect adds the following aria- attributes aria-placeholder="Search for Groups", aria-multiselectable="true". But those are not valid now. If we remove those attributes the issue will be resolved.
I've gone through the actual component code as well and found where the issue is
The following is the place when the searchable attribute is enabled set as true
[aria-*] attributes do not match their roles
Each ARIA role supports a specific subset of aria-* attributes. Mismatching these invalidates the aria-* attributes. Learn how to match ARIA attributes to their roles.
We've resolved this issue by passing aria prop with value set to null eg: :aria="{ 'aria-placeholder': null, 'aria-multiselectable': null }". This works only for the aria attributes which we want to remove. However as per the standard accessibility guidelines the aria-multiselectable should be added to the element which has the role grid, listbox, tablist, or tree. Reference: aria-multiselectable
Hi,
I'm getting the following accessibility issue Elements must only use supported ARIA attributes
Following is the issue, when add searchable attribute to true getting this issue:
@vueform/multiselect adds the following aria- attributes aria-placeholder="Search for Groups", aria-multiselectable="true". But those are not valid now. If we remove those attributes the issue will be resolved.
I've gone through the actual component code as well and found where the issue is
The following is the place when the searchable attribute is enabled set as true
And the following code for Tags with search option enabled
If we remove :aria-placeholder="ariaPlaceholder" and :aria-multiselectable="ariaMultiselectable" the issue will be resolved.
The text was updated successfully, but these errors were encountered: