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

User profile select for showing hidden elements lacks an accessible name

    XMLWordPrintable

Details

    • Easy
    • N/A
    • N/A
    • 4.1.2 Name, Role, Value

    Description

      WCAG warnings in the test class [org.xwiki.user.test.ui.AllIT]:
      Validation in the test method [changeUserProfile]
      Check for [org.xwiki.user.test.po.PreferencesEditPage] at http://xwikiweb:8080/xwiki/bin/edit/XWiki/changeUserProfile?category=preferences.
      Found [2] items
      2: Select element must have an accessible name
      Description: Ensures select element has an accessible name
      Help URL: https://dequeuniversity.com/rules/axe/4.6/select-name?application=axeAPI
      Help: Select element must have an accessible name
      Impact: critical
      Tags: cat.forms, wcag2a, wcag412, section508, section508.22.n, ACT

      HTML element:
      <select id="XWiki.XWikiUsers_0_displayHiddenDocuments" name="XWiki.XWikiUsers_0_displayHiddenDocuments" size="1">
      <option value="">---</option>
      <option value="1">
      Yes
      </option>
      <option value="0">
      No
      (Default)
      </option>
      </select>
      Selector: XWiki\.XWikiUsers_0_displayHiddenDocuments
      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's default semantics were not overridden with role="none" or role="presentation"

      Attachments

        Issue Links

          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: