Uploaded image for project: 'Wiki Editor Tools'
  1. Wiki Editor Tools
  2. WIKIEDITOR-108

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 4.11.2
    • Syntax Highlighting
    • Unknown
    • 4.1.2 Name, Role, Value

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

      Attachments

        Activity

          People

            Unassigned Unassigned
            Lucas C Charpentier Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: