This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-6ad3d7f5-0bb0-44ba-a88a-ff1014168606 XWIKI-22580 Open

New release input fields have no text alternative

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-6aa17537-f196-4e77-87e6-f0a8d4a8745c Charpentier Lucas created this issue on 16/Oct/24 16:01
 
Summary: New release input fields have no text alternative
Issue Type: cid:jira-generated-image-avatar-6ad3d7f5-0bb0-44ba-a88a-ff1014168606 Bug
Affects Versions: 16.8.0
Assignee: Unassigned
Components: Release
Created: 16/Oct/24 16:01
Labels: wcag
Priority: cid:jira-generated-image-static-major-6924b589-c0b2-497f-ac3a-07c12c194af2 Major
Reporter: Charpentier Lucas
Description:

Initially reported by automated tests on the CI:

Validation in the test method [release]
Check for [org.xwiki.release.test.po.ReleaseEntryEditPage] at http://xwikiweb:8080/xwiki/bin/edit/Release/Release451?parent=Release.WebHome&template=ReleaseCode.ReleaseTemplate&sheet=1&version=4.5.1&editor=inline&title=New%20Release%20for%20version%20451&version=4.5.1.
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.10/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

HTML element:
<input size="30" id="ReleaseCode.ReleaseClass_0_version" value="4.5.1" name="ReleaseCode.ReleaseClass_0_version" type="text">
Selector: ReleaseCode\.ReleaseClass_0_version
Fix any of the following:
Form element does not have an implicit (wrapped) <label>
Form 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"

HTML element:
<input type="text" id="ReleaseCode.ReleaseClass_0_releaseDate" name="ReleaseCode.ReleaseClass_0_releaseDate" value="" data-format="dd/MM/yyyy" class="datetime" data-timestamp="" data-locale="en">
Selector: ReleaseCode\.ReleaseClass_0_releaseDate
Fix any of the following:
Form element does not have an implicit (wrapped) <label>
Form 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 is related to this content: https://github.com/xwiki/xwiki-platform/blob/aa181b9c5d1417e04b6dce5cec1a3cfea025b250/xwiki-platform-core/xwiki-platform-release/xwiki-platform-release-ui/src/main/resources/ReleaseCode/ReleaseSheet.xml#L54-L57