This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-d69484fe-cc5a-4c46-8ada-0eb5a7905cec XWIKI-22204 Open

Underline inline links on the change viewer

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-dc862503-3fb6-46ac-af45-4685faff95cd Charpentier Lucas created this issue on 31/May/24 13:33
 
Summary: Underline inline links on the change viewer
Issue Type: cid:jira-generated-image-avatar-d69484fe-cc5a-4c46-8ada-0eb5a7905cec Bug
Affects Versions: 16.4.0
Assignee: Unassigned
Attachments: Screenshot from 2024-05-31 13-30-01.png
Components: Flamingo Skin
Created: 31/May/24 13:33
Labels: wcag
Priority: cid:jira-generated-image-static-major-9b987254-5262-42a6-8256-12328297e860 Major
Reporter: Charpentier Lucas
Description:

Highlighted first by automated WCAG tests.
_thumb_42617.png

Example of a violation report:

Validation in the test method [diffWithDeletedAttachments]
Check for [org.xwiki.test.ui.po.ComparePage] at http://xwikiweb:8080/xwiki/bin/view/NestedAttachmentIT/diffWithDeletedAttachments/?viewer=changes&rev1=1.1&rev2=2.1&.
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="/xwiki/bin/view/NestedAttachmentIT/diffWithDeletedAttachments/?rev=1.1">1.1</a>
Selector: [#changes-info-box-from > .changes-info-title > .changes-version > a:nth-child(1)]
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

HTML element:
<a href="/xwiki/bin/view/XWiki/User1">User1</a>
Selector: changes-info-box-from > .changes-info-content > .wikilink > a[href$="User1"]
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