This issue has been created
There are 3 updates.
 
 
XWiki Platform / cid:jira-generated-image-avatar-732ef900-6781-40f9-943c-60a800dbb90e XWIKI-22579 Open

Livedata filter selectize input for lists does not have a label

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-ada083e2-9151-421d-b125-7e6a27e6cec8 Charpentier Lucas created this issue on 16/Oct/24 15:32
 
Summary: Livedata filter selectize input for lists does not have a label
Issue Type: cid:jira-generated-image-avatar-732ef900-6781-40f9-943c-60a800dbb90e Bug
Affects Versions: 16.8.0
Assignee: Unassigned
Components: Live Data
Created: 16/Oct/24 15:32
Priority: cid:jira-generated-image-static-major-9b3d193f-ae10-4da2-8168-b8215e50931a Major
Reporter: Charpentier Lucas
Description:

First reported by automated tests on CI. The livedata regular filter inputs are labelled since XWIKI-20755 , but somehow the input used in the selectize component used in list filters is not labelled. It could be labelled with the same label as the one used for the hidden input.

```
Validation in the test method [deleteField]
Check for [org.xwiki.xclass.test.po.ClassSheetPage] at http://xwikiweb:8080/xwiki/bin/view/NestedClassEditorIT/deleteField.
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 type="text" autocomplete="new-password" autofill="no" tabindex="" style="width: 4px;">
Selector: [input[autocomplete="new-password"]]
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"
```

 
 

3 updates

 
cid:jira-generated-image-avatar-ada083e2-9151-421d-b125-7e6a27e6cec8 Changes by Charpentier Lucas on 16/Oct/24 15:33
 
Description: First reported by automated tests on CI. The livedata regular filter inputs are labelled since XWIKI-20755 , but somehow the input used in the selectize component used in list filters is not labelled. It could be labelled with the same label as the one used for the hidden input.

```
Validation in the test method [deleteField]
Check for [org.xwiki.xclass.test.po.ClassSheetPage] at [http://xwikiweb:8080/xwiki/bin/view/NestedClassEditorIT/deleteField].
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 type="text" autocomplete="new-password" autofill="no" tabindex="" style="width: 4px;">
Selector: [input[autocomplete="new-password"]]
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"
```


!Screenshot from 2024-10-16 15-33-31.png|thumbnail!
Attachment: Screenshot from 2024-10-16 15-33-31.png
Labels: wcag