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

Administration menu violates tablist structure

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 15.8-rc-1
    • 15.1
    • Administration
    • Medium
    • N/A
    • N/A
    • Hide
      1.3.1 Info and Relationships
      1.3.2 Meaningful Sequence
      Show
      1.3.1 Info and Relationships 1.3.2 Meaningful Sequence

    Description

      All tablist children need to have a role=tab or role=tabpanel.

      Validation in the test method [verifyMenuIsAvailableInAdministration]
      Check for [org.xwiki.menu.test.po.MenuHomePage] at [http://host.testcontainers.internal:8080/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin&section=menu.name].
      
      Certain ARIA roles must contain particular children
      Description: Ensures elements with an ARIA role that require child roles contain them
      Help URL: https://dequeuniversity.com/rules/axe/4.6/aria-required-children?application=axeAPI
      Help: Certain ARIA roles must contain particular children
      Impact: critical
      Tags: cat.aria, wcag2a, wcag131HTML element: 
          <div id="administration-menu" class="panel-group admin-menu" role="tablist" aria-multiselectable="true" data-ready="true">
      Selector: [#administration-menu]
      Fix any of the following:
        Element has children which are not allowed (all children)
        Element has no aria-busy="true" attribute 

      We can see here that the direct child has no semantics, it's just a div with a couple classes.

      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: