This issue has been created
There is 1 update.
 
 
XWiki Platform / cid:jira-generated-image-avatar-db321f3f-a853-4cc8-bb28-72cbe23773b8 XWIKI-23812 Open

XClass docker tests use a textarea without a label

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-9603e0e6-667e-428f-b7b0-8274c1c9596a Charpentier Lucas created this issue on 10/Dec/25 15:39
 
Summary: XClass docker tests use a textarea without a label
Issue Type: cid:jira-generated-image-avatar-db321f3f-a853-4cc8-bb28-72cbe23773b8 Bug
Affects Versions: 17.10.0
Assignee: Unassigned
Components: Development Issues only
Created: 10/Dec/25 15:39
Labels: wcag
Priority: cid:jira-generated-image-static-major-5a890ea3-91fa-4200-af65-ac6ae9db1e92 Major
Reporter: Charpentier Lucas
Description:

Caught by CI:

WCAG warnings in the test class [org.xwiki.xclass.test.ui.AllIT]:
__________
Validation in the test method [createClass]
Check for [org.xwiki.test.ui.po.InlinePage] at [http://xwikiweb:8080/xwiki/bin/edit/createClass/TestReferenceTemplate].
Found [1] items

1: Form elements must have labels
Description: Ensure every form element has a label
Help URL: https://dequeuniversity.com/rules/axe/4.11/label?application=axeAPI
Help: Form elements must have labels
Impact: critical
Tags: cat.forms, wcag2a, wcag412, section508, section508.22.n, TTv5, TT5.c, EN-301-549, EN-9.4.1.2, ACT, RGAAv4, RGAA-11.1.1

HTML element: 
	<textarea name="content"></textarea>
Selector: [textarea]
Fix any of the following:
  Element does not have an implicit (wrapped) <label>
  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 has no placeholder attribute
  Element's default semantics were not overridden with role="none" or role="presentation"

__________
Validation in the test method [createClass]
Check for [org.xwiki.test.ui.po.InlinePage] at [http://xwikiweb:8080/xwiki/bin/edit/createClass/createClass?form_token=fZxVhSvweC5t2YxZRwAstQ&template=createClass.TestReferenceTemplate&parent=createClass.TestReferenceClass&title=createClass].
Found [1] items

1: Form elements must have labels
Description: Ensure every form element has a label
Help URL: https://dequeuniversity.com/rules/axe/4.11/label?application=axeAPI
Help: Form elements must have labels
Impact: critical
Tags: cat.forms, wcag2a, wcag412, section508, section508.22.n, TTv5, TT5.c, EN-301-549, EN-9.4.1.2, ACT, RGAAv4, RGAA-11.1.1

HTML element: 
	<textarea name="content"></textarea>
Selector: [textarea]
Fix any of the following:
  Element does not have an implicit (wrapped) <label>
  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 has no placeholder attribute
  Element's default semantics were not overridden with role="none" or role="presentation"

This seems to be caused by the pattern defined in `contentDisplayer.wiki`.

 
 

1 update

 
cid:jira-generated-image-avatar-9603e0e6-667e-428f-b7b0-8274c1c9596a Changes by Charpentier Lucas on 10/Dec/25 15:41
 
Assignee: Charpentier Lucas