I have a plugin jQuery Terminal and I want to make it accessible to screen readers. What should I do to make the input of text accessible?
Generated html look like this:
<div class="cmd" style="width: 100%; visibility: visible;">
<span class="prompt">
<span>> </span>
</span>
<span>Before curosr</span>
<span class="cursor"> </span>
<span>after cursor</span>
<textarea autocapitalize="off" spellcheck="false" class="clipboard">
</textarea>
</div>
As far as I can tell the textarea is always in focus when entering text (I had it for mobile but then turn it on for all browsers).