This issue has been created
There is 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-81df17a0-919f-4260-b8ae-54a8e4919721 XWIKI-22205 Open

Underline inline link in CSRF confirmation Panel

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-373fd680-ed0d-4461-b070-d98669fdc0bf Charpentier Lucas created this issue on 31/May/24 13:55
 
Summary: Underline inline link in CSRF confirmation Panel
Issue Type: cid:jira-generated-image-avatar-81df17a0-919f-4260-b8ae-54a8e4919721 Bug
Affects Versions: 16.4.0
Assignee: Unassigned
Attachments: Screenshot from 2024-05-31 13-51-20.png
Components: Web - Templates & Resources
Created: 31/May/24 13:55
Labels: wcag
Priority: cid:jira-generated-image-static-major-258badf2-b3a1-4a1b-bed2-4ae31a3a54c6 Major
Reporter: Charpentier Lucas
Description:

This violation was highlighted first by automatic WCAG tests.
_thumb_42618.png

Example of violation report

Validation in the test method [dataIsPreservedAfterLogin]
Check for [org.xwiki.test.ui.po.ResubmissionPage] at http://xwikiweb:8080/xwiki/bin/view/NestedLoginIT/dataIsPreservedAfterLogin/?resubmit=%2Fxwiki%2Fbin%2Fsave%2FNestedLoginIT%2FdataIsPreservedAfterLogin%2FWebHome%3Fsrid%3DzH3ZvQ9V&xback=%2Fxwiki%2Fbin%2Fview%2FNestedLoginIT%2FdataIsPreservedAfterLogin%2F&xpage=resubmit.
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.8/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

HTML element:
<a href="http://jira.xwiki.org/">XWiki JIRA</a>
Selector: [a[href$="jira.xwiki.org/"]]
Fix any of the following:
The link has insufficient color contrast of 2.4:1 with the surrounding text. (Minimum contrast is 3:1, link text: #2f70a7, surrounding text: #333333)
The link has no styling (such as underline) to distinguish it from the surrounding text

 
 

1 comment

 
cid:jira-generated-image-avatar-373fd680-ed0d-4461-b070-d98669fdc0bf Charpentier Lucas on 31/May/24 13:56
 

IMO this is a special case that should be handled with the helper class `.force-underline`