Error message regarding label tag element
Still valid at the moment, maybe they're testing things out
This can be "corrected" using
<Label>Enter your name: <input type="text" ></Label>
or using this if you want an empty label
<label for="input_id" id="label_id" aria-label="Enter your name:">
<input type="text" id="input_id" name="name"> </label>
12 Replies
Nice, yea was not aware they added that into vsc it self. That's really nice
Oh do you have it connected to Ms edge? This is a axe tools thing
I mainly code with chrome set as default browser
I don't have that extension installed
Well, which ones do you have installed?
Another extension might provide the same rules.
php lint
es lint
react native snippets
debugger for firefox
Try disabling each one of them until you find the one causing the error message to appear
ok
Don't disable it follow it
You should always label inputs
of course it was the edge extension that was causing it, lol
the irony
Yea it says it in the error 😅
thanks for your help
Oh, yeah, my bad.
I don't know much about the nuances of the extensions, other than it works or it doesn't
or it starts to conflict with my code