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

Navigation Panel JStree non unique ids in attributes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 15.4
    • Tree
    • Unknown
    • 4.1.1 Parsing

    Description

      WCAG warnings in the test class [org.xwiki.panels.test.ui.docker.AllIT]:
      Validation in the test method [addPanelWithSpacesAndSymbolsInName]
      Check for [org.xwiki.test.ui.po.ViewPage] at http://xwikiweb:8080/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin&section=Panels.PanelWizard&forceLeftPanels=1&forceRightPanels=1&section=Panels.PanelWizard.
      Found [3] items
      2: IDs used in ARIA and labels must be unique
      Description: Ensures every id attribute value used in ARIA and in labels is unique
      Help URL: https://dequeuniversity.com/rules/axe/4.6/duplicate-id-aria?application=axeAPI
      Help: IDs used in ARIA and labels must be unique
      Impact: critical
      Tags: cat.parsing, wcag2a, wcag411

      HTML element:
      <li role="none" id="document:xwiki:XWiki.AttachmentSelector" class="jstree-node jstree-leaf">
      Selector: [ul[role="group"] > .jstree-leaf.jstree-node[role="none"]:nth-child(1)]
      Fix any of the following:
      Document has multiple elements referenced with ARIA with the same id attribute: document:xwiki:XWiki.AttachmentSelector

      Other duplicated IDs violation selectors:

      Selector: [.jstree-contextmenu > .jstree-last.jstree-closed.jstree-node]
      Selector: [.jstree-no-links > .jstree-container-ul.jstree-no-dots.jstree-no-icons > .jstree-closed.jstree-node[role="none"]:nth-child(1)]

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: