Textarea without a label
-
Dear developer, thank you for the great plugin!
I am working on accessibility issues of our site and have found that CodeMirrorBlocks plugin produces a textarea tag inside its divs.
I guess, it is for storing users’ input when readOnly=false (we don’t use it).According to W3C standards, textarea tag should be used inside a form, and there should be a label associated with textarea. There is neither form nor label.
<textarea style="position: absolute; bottom: -1em; padding: 0px; width: 1px; height: 1em; outline: currentcolor none medium;" autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" wrap="off"></textarea>
This code raises an exception when validating it using accessibility validators (like this one)
Any ideas, how to remove this tag when it is not needed?
Thank you!
Best regards,
Danny Briskin
- The topic ‘Textarea without a label’ is closed to new replies.