This issue has been created
There is 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-6b38b468-7eee-434f-a22f-c7df44d49c41 XWIKI-22590 Open

Links in message boxes lack contrast

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-3022c27d-8d5b-4f9a-9c45-d78fc7cf4666 Charpentier Lucas created this issue on 22/Oct/24 12:51
 
Summary: Links in message boxes lack contrast
Issue Type: cid:jira-generated-image-avatar-6b38b468-7eee-434f-a22f-c7df44d49c41 Bug
Affects Versions: 16.8.0
Assignee: Unassigned
Components: Flamingo Skin
Created: 22/Oct/24 12:51
Labels: wcag
Priority: cid:jira-generated-image-static-major-38f329cd-47ae-42c5-b3cb-966a89800372 Major
Reporter: Charpentier Lucas
Description:

Note that there is no color theme during WCAG tests.

WCAG warnings in the test class [org.xwiki.flamingo.test.docker.AllIT]:
Validation in the test method [renamePageUsedInMacroContentAndParameters]
Check for [org.xwiki.test.ui.po.ViewPage] at http://xwikiweb:8080/xwiki/bin/view/NestedRenamePageIT/renamePageUsedInMacroContentAndParameters/.
Found [2] items

1: Elements must have sufficient color contrast
Description: Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds
Help URL: https://dequeuniversity.com/rules/axe/4.6/color-contrast?application=axeAPI
Help: Elements must have sufficient color contrast
Impact: serious
Tags: cat.color, wcag2aa, wcag143, ACT

HTML element:
<a href="/xwiki/bin/view/RenamePageIT/NestedMacroLink/">type the link label</a>
Selector: [.errormessage > p > .wikilink > a]
Fix any of the following:
Element has insufficient color contrast of 4.07 (foreground color: #2f70a7, background color: #f2dede, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 4.5:1

 
 

1 comment

 
cid:jira-generated-image-avatar-3022c27d-8d5b-4f9a-9c45-d78fc7cf4666 Charpentier Lucas on 22/Oct/24 12:53
 

The fix for XWIKI-20986 should have solved the warnings on CI, but somehow it did not...
This issue goes for all of the links in message boxes, there's multiple test suites that trigger warnings about this WCAG violation on CI.