This issue has been created
There is 1 update.
 
 
Wiki Editor Tools / cid:jira-generated-image-avatar-b59f7a96-b89b-4f02-a05e-34fad4d01100 WIKIEDITOR-108 Open

The text input of the syntax highlighted wiki editor has no label

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-aa303eb7-5d55-475c-9b6a-aefcb9d244d0 Charpentier Lucas created this issue on 30/Oct/26 17:13
 
Summary: The text input of the syntax highlighted wiki editor has no label
Issue Type: cid:jira-generated-image-avatar-b59f7a96-b89b-4f02-a05e-34fad4d01100 Bug
Affects Versions: 4.11.2
Assignee: Unassigned
Components: Syntax Highlighting
Created: 30/Oct/26 17:13
Labels: wcag
Priority: cid:jira-generated-image-static-major-1ba0c722-5053-45a2-899b-6eec2aa030f1 Major
Reporter: Charpentier Lucas
Description:

Steps to reproduce

  1. 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".

 
 

1 update

 
cid:jira-generated-image-avatar-aa303eb7-5d55-475c-9b6a-aefcb9d244d0 Changes by Charpentier Lucas on 30/Oct/26 17:13
 
WCAG 2.1 Rule ids: 4.1.2 Name, Role, Value