Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-20996

AWM entry edit forms don't have labels.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 15.4
    • App Within Minutes
    • Medium
    • 4.1.2 Name, Role, Value

    Description

      WCAG warnings in the test class [org.xwiki.appwithinminutes.test.ui.AllIT]:

      Validation in the test method [titleAndContent]
      Check for [org.xwiki.appwithinminutes.test.po.EntryEditPage] at http://xwikiweb:8080/xwiki/bin/edit/JZnzSG/Test/WebHome?form_token=MBRU8CB1gkxbCycT1IqjYA&template=JZnzSG.Code.JZnzSGTemplate&title=Test&parent=JZnzSG.WebHome&editor=inline.
      Found [1] items

      1: Form elements must have labels
      Description: Ensures every form element has a label
      Help URL: https://dequeuniversity.com/rules/axe/4.6/label?application=axeAPI
      Help: Form elements must have labels
      Impact: critical
      Tags: cat.forms, wcag2a, wcag412, section508, section508.22.n, ACT

      HTML element: 
          <input type="text" name="title" value="Test" data-validation-value-missing="This field is required.">
      Selector: [input[data-validation-value-missing="This field is required."]]
      Fix any of the following:
        Form element does not have an implicit (wrapped) <label>
        Form element does not have an explicit <label>
        aria-label attribute does not exist or is empty
        aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty
        Element has no title attribute
        Element has no placeholder attribute
        Element's default semantics were not overridden with role="none" or role="presentation"

      HTML element: 
          <textarea id="content" cols="80" rows="25" name="content">Enter content here</textarea>
      Selector: content
      Fix any of the following:
        Form element does not have an implicit (wrapped) <label>
        Form element does not have an explicit <label>
        aria-label attribute does not exist or is empty
        aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty
        Element has no title attribute
        Element has no placeholder attribute
        Element's default semantics were not overridden with role="none" or role="presentation"

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: