Details
-
Bug
-
Resolution: Fixed
-
Major
-
15.4
-
Easy
-
N/A
-
N/A
-
-
4.1.2 Name, Role, Value
Description
WCAG warnings in the test class [org.xwiki.user.test.ui.AllIT]:
Validation in the test method [changeUserProfile]
Check for [org.xwiki.user.test.po.PreferencesEditPage] at http://xwikiweb:8080/xwiki/bin/edit/XWiki/changeUserProfile?category=preferences.
Found [2] items
2: Select element must have an accessible name
Description: Ensures select element has an accessible name
Help URL: https://dequeuniversity.com/rules/axe/4.6/select-name?application=axeAPI
Help: Select element must have an accessible name
Impact: critical
Tags: cat.forms, wcag2a, wcag412, section508, section508.22.n, ACTHTML element:
<select id="XWiki.XWikiUsers_0_displayHiddenDocuments" name="XWiki.XWikiUsers_0_displayHiddenDocuments" size="1">
<option value="">---</option>
<option value="1">
Yes
</option>
<option value="0">
No
(Default)
</option>
</select>
Selector: XWiki\.XWikiUsers_0_displayHiddenDocuments
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's default semantics were not overridden with role="none" or role="presentation"
Attachments
Issue Links
- relates to
-
XWIKI-20989 Notification form selects lack an accessible name
- Closed