Accessibility Improvement: WCAG Compliance with Input Labels #706
FlashPanther
started this conversation in
Ideas
Replies: 1 comment 4 replies
-
What plugins are used in you scenario? The plugins modify some of the core behaviours for label-handling, so it would be good to know what to look for in the code. Maybe share an example on Codepen or JsFiddle. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am currently working with tom-select and I've noticed something that could be improved in terms of web accessibility. According to the Web Content Accessibility Guidelines (WCAG), every input element in a form must be associated with a label to ensure better accessibility, especially for people using screen readers.
(https://www.w3.org/WAI/WCAG21/Understanding/labels-or-instructions.html)
However, it appears that tom-select may not fully adhere to this guideline, which can make some form elements less accessible to users with specific needs. This could also impact the compliance of websites using tom-select with international web accessibility standards.
I suggest adding a feature or an option to ensure that every input element generated by tom-select is automatically associated with a label. This could be done through explicit association via the label's for attribute or other methods recommended by the WCAG.
Incorporating this improvement would not only enhance the accessibility of projects using tom-select but also their compliance with international regulations, thus improving the user experience for everyone.
Thank you for considering this suggestion and for your work on this project. I look forward to seeing how this suggestion could be integrated into future updates of tom-select.
Beta Was this translation helpful? Give feedback.
All reactions