Description
Error found when validating WCAG on the XClass module:
WCAG warnings in the test class [org.xwiki.xclass.test.ui.AllITs]:
Validation in the test method [createClass]
Check for [org.xwiki.test.ui.po.ViewPage] at http://xwikiweb:8080/xwiki/bin/view/XWiki/XWikiClasses
Images must have alternate text
Description: Ensures <img> elements have alternate text or a role of none or presentation
Help URL: https://dequeuniversity.com/rules/axe/4.6/image-alt?application=axeAPI
Help: Images must have alternate text
Impact: critical
Tags: cat.text-alternatives, wcag2a, wcag111, section508, section508.22.a, ACTHTML element:
<img src="http://xwikiweb:8080/xwiki/resources/icons/silk/control_start.png?cache-version=1680725980000">
Selector: [a[title="Previous page"] > img]
Fix any of the following:
Element does not have an alt attribute
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"
A lot of similar errors are reported for all icons in the livedata.
The WCAG errors in context (video):
https://up1.xwikisas.com/#5i73wpturJlvIluImDQBDQ
Attachments
Issue Links
- is related to
-
XWIKI-18847 Add role=img to Font Awesome icons
- Closed