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

Wiki delete confirmation form doesn't have a label

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 15.6-rc-1
    • 15.4
    • Wiki
    • Trivial
    • N/A
    • N/A
    • 4.1.2 Name, Role, Value

    Description

      Only for admins

      WCAG warnings in the test class [org.xwiki.wiki.test.ui.AllIT]:
      Validation in the test method [movePageToSubwiki]
      Check for [org.xwiki.wiki.test.po.DeleteWikiPage] at http://xwikiweb:8080/xwiki/bin/view/WikiManager/DeleteWiki?wikiId=subwiki.
      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 class="required" id="wikiDeleteConfirmation" name="wikiIdConfirm" type="text" value="">
      Selector: wikiDeleteConfirmation
      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:
              Resolved: