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

WCAG not complied in navigation panel administration

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • 16.4.7, 17.2.0-rc-1, 16.10.5
    • 16.4.6, 16.10.3
    • Panels
    • None
    • Unknown

    Description

      The CI reported the following errors:

      WCAG fails in the test class [org.xwiki.panels.test.ui.docker.AllIT]:
      __________
      Validation in the test method [verifyPanelCaching]
      Check for [org.xwiki.panels.test.po.NavigationPanelAdministrationPage] at [http://xwikiweb:8080/xwiki/bin/admin/XWiki/XWikiPreferences?form_token=MDyIPXPlyu0M6tkNYcRvEg&editor=globaladmin&forceEdit=true&section=panels.navigation&force=true&].
      Found [2] items
      
      1: Certain ARIA roles must contain particular children
      Description: Ensure elements with an ARIA role that require child roles contain them
      Help URL: https://dequeuniversity.com/rules/axe/4.10/aria-required-children?application=axeAPI
      Help: Certain ARIA roles must contain particular children
      Impact: critical
      Tags: cat.aria, wcag2a, wcag131, EN-301-549, EN-9.1.3.1
      
      HTML element: 
       <div class="xtree jstree-no-links jstree-xwiki-large jstree jstree-1 jstree-xwiki jstree-xwiki-responsive" data-responsive="true" data-url="/xwiki/bin/get/Panels/Navigation?outputSyntax=plain&amp;sheet=XWiki.DocumentTree&amp;showAttachments=false&amp;showTranslations=false&amp;exclusions=space%3ACarol&amp;exclusions=space%3AIconThemesCode&amp;exclusions=space%3APanels&amp;exclusions=space%3APanelsCode&amp;exclusions=space%3AIndex&amp;exclusions=space%3AAppWithinMinutes&amp;exclusions=space%3AAttachment&amp;exclusions=space%3AIconThemes" data-draganddrop="true" data-contextmenu="false" data-icons="false" data-edges="false" data-checkboxes="false" data-opento="document:xwiki:Panels.Navigation" data-finder="false" role="tree" aria-multiselectable="true" tabindex="0" aria-activedescendant="document:xwiki:A AA.WebHome" aria-busy="false">
      Selector: [.jstree-no-links]
      Fix any of the following:
        Element has children which are not allowed: button[tabindex]
      
      2: Buttons must have discernible text
      Description: Ensure buttons have discernible text
      Help URL: https://dequeuniversity.com/rules/axe/4.10/button-name?application=axeAPI
      Help: Buttons must have discernible text
      Impact: critical
      Tags: cat.name-role-value, wcag2a, wcag412, section508, section508.22.a, TTv5, TT6.a, EN-301-549, EN-9.4.1.2, ACT
      
      HTML element: 
       <button class="jstree-action-pin" type="button">
      Selector: [.jstree-leaf.jstree-node[role="none"]:nth-child(1) > .jstree-actions > .jstree-action-pin[type="button"]]
      Fix any of the following:
        Element does not have inner text that is visible to screen readers
        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 does not have an implicit (wrapped) <label>
        Element does not have an explicit <label>
        Element's default semantics were not overridden with role="none" or role="presentation"
      
       ==> expected: <false> but was: <true>
      
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: