lundi 11 septembre 2017

Accessibility - Provide descriptive text in label elements

I have a toggle checkbox which has a input type = "checkbox" enclosed inside a label element. However, I dont need to any text to a label element. But accessibility throws me an error to add a label text which I dont need at all. How do I over come this error.

        </label>

Aucun commentaire:

Enregistrer un commentaire