django-codemirror-widget icon indicating copy to clipboard operation
django-codemirror-widget copied to clipboard

No label generated for accessibility

Open jongund opened this issue 6 years ago • 0 comments

We need to have a label generated for the TEXTAREA element that code mirror renders in parallel with the original TEXTAREA element. The label is very important for supporting people with disabilities and an is required by law for most public organizations to comply with web accessibility standards.

You can use the label text on the original textarea (now hidden by code mirror) defined by a LABEL[FOR] relationship and then use ARIA-LABEL="[label text]" on code mirror TEXTAREA element.

jongund avatar Sep 05 '17 20:09 jongund