Steps to reproduce
- Edit a page with the wiki editor, with syntax highlighting enabled.
Expected The CodeMirror text input has an accessible name, e.g. the one of the textarea it replaces. Actual The hidden <textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0"> created by CodeMirror has no label. CodeMirror 5 provides the screenReaderLabel option for this. Context Found by the WCAG validation of SyntaxHighlightingIT#highlightContent in xwiki-platform, which reports the rule "Form elements must have labels". |