Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
17.10.0
-
Unknown
-
Description
Reported from CI:
WCAG warnings in the test class [org.xwiki.search.test.ui.AllIT]: __________ Validation in the test method [searchLimit] Check for [org.xwiki.search.test.po.SolrSearchPage] at [http://xwikiweb:8080/xwiki/bin/view/Main/SolrSearch?highlight=true&facet=true&r=1&f_type=DOCUMENT&f_locale=en&f_locale=&text=Content+of+Page&rows=20]. Found [1] items 1: Links must be distinguishable without relying on color Description: Ensure links are distinguished from surrounding text in a way that does not rely on color Help URL: https://dequeuniversity.com/rules/axe/4.11/link-in-text-block?application=axeAPI Help: Links must be distinguishable without relying on color Impact: serious Tags: cat.color, wcag2a, wcag141, TTv5, TT13.a, EN-301-549, EN-9.1.4.1, RGAAv4, RGAA-10.6.1 HTML element: <a class="user-name" href="/xwiki/bin/view/XWiki/superadmin"><img class="user-avatar" src="/xwiki/bin/skin/resources/icons/xwiki/noavatar.png?cache-version=1763562508000" alt="">superadmin</a> Selector: [.search-result.type-document:nth-child(1) > .search-result-author > .user[data-reference="xwiki:XWiki.superadmin"] > .user-name] Fix any of the following: The link has insufficient color contrast of 1.41:1 with the surrounding text. (Minimum contrast is 3:1, link text: #2f70a7, surrounding text: #555555) The link has no styling (such as underline) to distinguish it from the surrounding text
I'm not sure how I didn't catch that myself earlier :/
Maybe a local change I forgot to move into my PR.
The style for this element is in a SSX in the document `SolrSearch.xml`