• 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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Vicky Agravat

    (@vickyagravat)

    Hello @dbriskin

    It was glad to know that some one is relay aware about accessibility features.

    Now, come to the point, that textarea is used by CodeMirror internal library.
    it is necessary to manipulate and rendering of code block.
    it can not be omitted.

    But, as you mention above that, textarea tag should be used inside a form, and there should be a label associated with textarea.

    I will update the plugin soon, with suggested change.

    Thank you.

    I realize that it has been 3 months since the original query by Danny Briskin.

    I would like to know if there are any plans to rectify the non-accessibility portions of the plugin. Just like Danny, I am referring to the textarea that has no label and is also not inside a form. This is a great plugin but the accessibility issues are a deal-breaker.

    Hoping for a positive response.

    Arnold Goodway.

    Plugin Author Vicky Agravat

    (@vickyagravat)

    Hello @sailorgoodway

    Sorry for your inconvenience.

    Actually, i can’t get enough time to develop this plugin.
    But, i will fix those points and update the plugin asap.

    Thank you.

    Thanks for the quick response. This plugin is worth a bit of a wait.

    Looking forward to the plugin update.

    Arnold Goodway.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Textarea without a label’ is closed to new replies.