DEV Community

Discussion on: Create a custom toggle component in Vue.js. πŸŽ›

Collapse
 
vaibhavkhulbe profile image
Vaibhav Khulbe • Edited

Hi Pascal! You're right accessibility is highly important! But as you can see, this article is just focussed on "how to make a custom component". It's just about coding the component, adding other things like accessibility can surely be done. This was just to get a demo or a quick-start. :)

Also, thanks for adding the resources, they will definitely help!

Collapse
 
thepassle profile image
Pascal Schilp

Making it not accessible is not how you make a component. Youve just excluded a lot of people from being able to use the component, and even worse, youve taught a bunch of other people the wrong way to make a component.

If its not accessible, its not finished. β€œAdding” accessibility is not a bonus; its a requirement