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
When you apply tom-select to an input that has an aria-label attribute, it does not copy that attribute to the newly created element. This causes Screen readers to not correctly "speak" the field purpose.
Expected behavior
The element that is created by tom-select should carry the aria-label attribute over.
Steps to reproduce
Create a simple input element with aria-label:
<input id="test" aria-label="Test description" />
Add TomSelect to it:
new TomSelect("#test");
You will see that aria-label is not copied to the new element.
Additional context
Browser Chrome
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Bug description
When you apply tom-select to an input that has an aria-label attribute, it does not copy that attribute to the newly created element. This causes Screen readers to not correctly "speak" the field purpose.
Expected behavior
The element that is created by tom-select should carry the aria-label attribute over.
Steps to reproduce
<input id="test" aria-label="Test description" />
new TomSelect("#test");
You will see that aria-label is not copied to the new element.
Additional context
The text was updated successfully, but these errors were encountered: