This issue has been created
There is 1 update, 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-8ee757f2-c53c-4eec-ad36-65ebf5a02aec XWIKI-22904 Open

WCAG not complied in navigation panel administration

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-c00d3852-cefc-41eb-91ba-62cc9f5e0471 Simon Urli created this issue on 20/Feb/25 14:04
 
Summary: WCAG not complied in navigation panel administration
Issue Type: cid:jira-generated-image-avatar-8ee757f2-c53c-4eec-ad36-65ebf5a02aec Bug
Affects Versions: 16.10.3
Assignee: Unassigned
Components: Panels
Created: 20/Feb/25 14:04
Priority: cid:jira-generated-image-static-major-028652a7-c025-4dc1-be39-f0c13362e5b5 Major
Reporter: Simon Urli
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>

 
 

1 update

 
cid:jira-generated-image-avatar-f217e1aa-7780-4f3a-82c5-6cd2d1b0941b Changes by Charpentier Lucas on 20/Feb/25 14:06
 
Assignee: Charpentier Lucas
 
 

1 comment

 
cid:jira-generated-image-avatar-f217e1aa-7780-4f3a-82c5-6cd2d1b0941b Charpentier Lucas on 20/Feb/25 14:07
 

Started a PR on https://github.com/xwiki/xwiki-platform/pull/3912